Changeset - r4503:c575bd8c4111
[Not reviewed]
master
0 1 0
tron - 18 years ago 2006-08-31 22:07:49
tron@openttd.org
(svn r6288) -Regression: Restore automatic language detection, which was broken in r4886 when the language codes got extended
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
strings.c
Show inline comments
 
@@ -1250,7 +1250,7 @@ void InitializeLanguagePacks(void)
 
		dl->ent[m].name = strdup(hdr.name);
 

	
 
		if (strcmp(hdr.name, "English") == 0) fallback = m;
 
		if (strcmp(hdr.isocode, lang) == 0) def = m;
 
		if (strncmp(hdr.isocode, lang, 2) == 0) def = m;
 

	
 
		m++;
 
	}
0 comments (0 inline, 0 general)