summaryrefslogtreecommitdiff
path: root/src/strings.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/strings.cpp')
-rw-r--r--src/strings.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/strings.cpp b/src/strings.cpp
index 09f2243c7..cf2f60348 100644
--- a/src/strings.cpp
+++ b/src/strings.cpp
@@ -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;
}