mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-10 14:51:40 +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... :(
|
||||
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)
|
||||
{
|
||||
upperforlower['i'] = 0x130;
|
||||
|
|
Loading…
Reference in a new issue