mirror of
https://github.com/Detanup01/gbe_fork.git
synced 2024-11-27 05:04:01 +08:00
compare language case-insensitive in overlay
This commit is contained in:
parent
433dc405bd
commit
21cab8b378
@ -138,7 +138,7 @@ Steam_Overlay::Steam_Overlay(Settings* settings, Local_Storage *local_storage, S
|
|||||||
|
|
||||||
int i = 0;
|
int i = 0;
|
||||||
for (auto &lang : valid_languages) {
|
for (auto &lang : valid_languages) {
|
||||||
if (strcmp(lang, language) == 0) {
|
if (common_helpers::str_cmp_insensitive(lang, language)) {
|
||||||
current_language = i;
|
current_language = i;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user