diff options
author | dundargoc <gocdundar@gmail.com> | 2024-06-28 20:25:26 +0200 |
---|---|---|
committer | dundargoc <33953936+dundargoc@users.noreply.github.com> | 2024-06-29 11:41:05 +0200 |
commit | c33f670da20a0e8f1832ea7227b19f5b6f5a7beb (patch) | |
tree | 49fffb756902bcd1fb1b11b56fbb487e224c6b46 | |
parent | aa6b9c677d83d76d448c3bb0973bf8d14bfdf922 (diff) | |
download | rneovim-c33f670da20a0e8f1832ea7227b19f5b6f5a7beb.tar.gz rneovim-c33f670da20a0e8f1832ea7227b19f5b6f5a7beb.tar.bz2 rneovim-c33f670da20a0e8f1832ea7227b19f5b6f5a7beb.zip |
refactor: remove special-case conversion for german sharp s
The comment "German sharp s is lower case but has no upper case
equivalent." is no longer true and is therefore not needed anymore.
-rw-r--r-- | src/nvim/mbyte.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/nvim/mbyte.c b/src/nvim/mbyte.c index c0bbd3e053..e9004c3b8f 100644 --- a/src/nvim/mbyte.c +++ b/src/nvim/mbyte.c @@ -1352,8 +1352,7 @@ int mb_toupper(int a) bool mb_islower(int a) { - // German sharp s is lower case but has no upper case equivalent. - return (mb_toupper(a) != a) || a == 0xdf; + return mb_toupper(a) != a; } /// Return the lower-case equivalent of "a", which is a UCS-4 character. Use |