diff options
author | Björn Linse <bjorn.linse@gmail.com> | 2017-04-09 10:08:26 +0200 |
---|---|---|
committer | Björn Linse <bjorn.linse@gmail.com> | 2017-04-10 12:02:26 +0200 |
commit | c1cf03398143f4dc0ac9155988edad349d24deca (patch) | |
tree | ab3992856251b9adb86f44611f0c9c36926b8e0d /src/nvim/mbyte.c | |
parent | acc06b0b7b99925d7567d2e79c2f5e88434edae8 (diff) | |
download | rneovim-c1cf03398143f4dc0ac9155988edad349d24deca.tar.gz rneovim-c1cf03398143f4dc0ac9155988edad349d24deca.tar.bz2 rneovim-c1cf03398143f4dc0ac9155988edad349d24deca.zip |
lint: fix clint errors around mb_tolower calls
Diffstat (limited to 'src/nvim/mbyte.c')
-rw-r--r-- | src/nvim/mbyte.c | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/src/nvim/mbyte.c b/src/nvim/mbyte.c index 5f5abbeac5..b18459a2b5 100644 --- a/src/nvim/mbyte.c +++ b/src/nvim/mbyte.c @@ -1179,10 +1179,8 @@ int utf_fold(int a) // invalid values or can't handle latin1 when the locale is C. // Speed is most important here. -/* - * Return the upper-case equivalent of "a", which is a UCS-4 character. Use - * simple case folding. - */ +/// Return the upper-case equivalent of "a", which is a UCS-4 character. Use +/// simple case folding. int mb_toupper(int a) { /* If 'casemap' contains "keepascii" use ASCII style toupper(). */ @@ -1205,14 +1203,12 @@ int mb_toupper(int a) bool mb_islower(int a) { - /* German sharp s is lower case but has no upper case equivalent. */ + // German sharp s is lower case but has no upper case equivalent. return (mb_toupper(a) != a) || a == 0xdf; } -/* - * Return the lower-case equivalent of "a", which is a UCS-4 character. Use - * simple case folding. - */ +/// Return the lower-case equivalent of "a", which is a UCS-4 character. Use +/// simple case folding. int mb_tolower(int a) { /* If 'casemap' contains "keepascii" use ASCII style tolower(). */ |