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:
dundargoc
2024-06-28 20:25:26 +02:00
committed by dundargoc
parent aa6b9c677d
commit c33f670da2

View File

@@ -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