mirror of
https://github.com/neovim/neovim.git
synced 2025-09-28 05:58:33 +00:00
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.
This commit is contained in:
@@ -1352,8 +1352,7 @@ int mb_toupper(int a)
|
|||||||
|
|
||||||
bool mb_islower(int a)
|
bool mb_islower(int a)
|
||||||
{
|
{
|
||||||
// German sharp s is lower case but has no upper case equivalent.
|
return mb_toupper(a) != a;
|
||||||
return (mb_toupper(a) != a) || a == 0xdf;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Return the lower-case equivalent of "a", which is a UCS-4 character. Use
|
/// Return the lower-case equivalent of "a", which is a UCS-4 character. Use
|
||||||
|
Reference in New Issue
Block a user