mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-02-01 20:03:26 +00:00
(svn r10130) -Fix (r4493): SetCurrentGrfLangID returned the wrong language ids for most languages.
This commit is contained in:
parent
f477075a0b
commit
860fe49b80
@ -438,7 +438,7 @@ void SetCurrentGrfLangID(const char *iso_name)
|
||||
for (i=0; i < lengthof(iso_codes); i++) {
|
||||
if (strncmp(iso_codes[i].code, iso_name, strlen(iso_codes[i].code)) == 0) {
|
||||
/* We found a match, so let's use it. */
|
||||
ret = i;
|
||||
ret = iso_codes[i].grfLangID;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user