mirror of
https://github.com/ZDoom/gzdoom.git
synced 2025-02-01 06:10:42 +00:00
- fixed crash when checking the extended character list for the current language.
For English this will be null because it got no extended characters.
This commit is contained in:
parent
15465f0785
commit
25c984ff6e
1 changed files with 1 additions and 1 deletions
|
@ -312,7 +312,7 @@ void UpdateGenericUI(bool cvar)
|
||||||
}
|
}
|
||||||
// Turkish i crap. What a mess, just to save two code points... :(
|
// Turkish i crap. What a mess, just to save two code points... :(
|
||||||
switchstr = GStrings["REQUIRED_CHARACTERS"];
|
switchstr = GStrings["REQUIRED_CHARACTERS"];
|
||||||
special_i = strstr(switchstr, "\xc4\xb0") != nullptr; // capital dotted i (İ).
|
special_i = switchstr && strstr(switchstr, "\xc4\xb0") != nullptr; // capital dotted i (İ).
|
||||||
if (special_i)
|
if (special_i)
|
||||||
{
|
{
|
||||||
upperforlower['i'] = 0x130;
|
upperforlower['i'] = 0x130;
|
||||||
|
|
Loading…
Reference in a new issue