1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-29 09:29:10 +00:00

(svn r10130) -Fix (r4493): SetCurrentGrfLangID returned the wrong language ids for most languages.

This commit is contained in:
maedhros
2007-06-13 07:59:20 +00:00
parent f477075a0b
commit 860fe49b80

View File

@@ -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;
}
}