Changeset - r3868:ed35ebacd605
[Not reviewed]
master
0 1 0
peter1138 - 18 years ago 2006-05-18 15:34:36
peter1138@openttd.org
(svn r4905) - NewGRF: fix typo that prevented non-english NewGRF text from working.
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
newgrf_text.c
Show inline comments
 
@@ -293,7 +293,7 @@ void SetCurrentGrfLangID(const char *iso
 
	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;
0 comments (0 inline, 0 general)