(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
1 changed files with 1 additions and 1 deletions

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