Mercurial > hg > openttd
changeset 3868:830819e9032f draft
(svn r4905) - NewGRF: fix typo that prevented non-english NewGRF text from working.
author | peter1138 <peter1138@openttd.org> |
---|---|
date | Thu, 18 May 2006 15:34:36 +0000 |
parents | 17eeeb86ea75 |
children | 5e7218e1f9d0 |
files | newgrf_text.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/newgrf_text.c +++ b/newgrf_text.c @@ -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;