author | peter1138 |
Thu, 18 May 2006 15:34:36 +0000 | |
changeset 3868 | 363ae2b6b55c |
parent 3867 | 20e63b1c8ceb |
child 3869 | 446041505522 |
newgrf_text.c | file | annotate | diff | comparison | revisions |
--- a/newgrf_text.c Thu May 18 02:52:07 2006 +0000 +++ b/newgrf_text.c Thu May 18 15:34:36 2006 +0000 @@ -293,7 +293,7 @@ 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;