mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-01-22 15:11:54 +00:00
(svn r4905) - NewGRF: fix typo that prevented non-english NewGRF text from working.
This commit is contained in:
parent
ca082f188a
commit
136359ecbd
@ -293,7 +293,7 @@ void SetCurrentGrfLangID(const char *iso_name)
|
|||||||
ret = GRFLX_ENGLISH;
|
ret = GRFLX_ENGLISH;
|
||||||
|
|
||||||
for (i=0; i < lengthof(iso_codes); i++) {
|
for (i=0; i < lengthof(iso_codes); i++) {
|
||||||
if (strncmp(iso_codes[i].code, iso_name, strlen(iso_codes[i].code) == 0)) {
|
if (strncmp(iso_codes[i].code, iso_name, strlen(iso_codes[i].code)) == 0) {
|
||||||
/* We found a match, so let's use it. */
|
/* We found a match, so let's use it. */
|
||||||
ret = i;
|
ret = i;
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user