(svn r22806) -Codechange: store the number of untranslated strings in the language file

This commit is contained in:
rubidium
2011-08-21 19:21:38 +00:00
parent f6b0561cd8
commit 525e2c9e73
3 changed files with 12 additions and 2 deletions

View File

@@ -1657,7 +1657,10 @@ static bool GetLanguageFileHeader(const char *file, LanguagePackHeader *hdr)
bool ret = read == 1 && hdr->IsValid();
/* Convert endianness for the windows language ID */
if (ret) hdr->winlangid = FROM_LE16(hdr->winlangid);
if (ret) {
hdr->missing = FROM_LE16(hdr->missing);
hdr->winlangid = FROM_LE16(hdr->winlangid);
}
return ret;
}