(svn r4905) - NewGRF: fix typo that prevented non-english NewGRF text from working.

replace/41b28d7194a279bdc17475d4fbe2ea6ec885a466
peter1138 18 years ago
parent ca082f188a
commit 136359ecbd

@ -293,7 +293,7 @@ void SetCurrentGrfLangID(const char *iso_name)
ret = GRFLX_ENGLISH;
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. */
ret = i;
break;

Loading…
Cancel
Save