- fixed 'I' to 'i' upper-to-lower mapping

https://forum.zdoom.org/viewtopic.php?t=64526
This commit is contained in:
alexey.lysiuk 2019-05-01 16:09:42 +03:00
parent b23958b204
commit 32aa69f4d8
1 changed files with 1 additions and 1 deletions

View File

@ -778,7 +778,7 @@ void InitLowerUpper()
{
auto lower = loweruppercase[i];
auto upper = loweruppercase[i + 1];
if (upperforlower[upper] == upper) lowerforupper[upper] = lower; // This mapping is ambiguous (see 0x0131 -> 0x0049, (small Turkish 'i' without dot.) so only pick the first match.
if (lowerforupper[upper] == upper) lowerforupper[upper] = lower; // This mapping is ambiguous (see 0x0131 -> 0x0049, (small Turkish 'i' without dot.) so only pick the first match.
if (upperforlower[lower] == lower) upperforlower[lower] = upper;
isuppermap[upper] = islowermap[lower] = true;
}