File diff r4320:c2a7d05512a6 → r4321:baa916e5dd65
strings.c
Show inline comments
 
@@ -1226,13 +1226,13 @@ void InitializeLanguagePacks(void)
 

	
 
	def = -1;
 
	fallback = 0;
 

	
 
	// go through the language files and make sure that they are valid.
 
	for (i = m = 0; i != n; i++) {
 
		int j;
 
		size_t j;
 

	
 
		char *s = str_fmt("%s%s", _path.lang_dir, files[i]);
 
		in = fopen(s, "rb");
 
		free(s);
 
		if (in == NULL ||
 
				(j = fread(&hdr, sizeof(hdr), 1, in), fclose(in), j) != 1 ||