diff options
author | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2020-03-10 20:18:08 +0100 |
---|---|---|
committer | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2020-03-10 20:20:50 +0100 |
commit | 5afa0815c96799ab78406d59d3b5b2298866cb10 (patch) | |
tree | 1609e95fcd2b60cefb06e2b5610cae22406e0b50 /src | |
parent | 329d4f1c909b94a5d3cbfd8a9e1b14feb7fa64ff (diff) | |
download | VeraCrypt-5afa0815c96799ab78406d59d3b5b2298866cb10.tar.gz VeraCrypt-5afa0815c96799ab78406d59d3b5b2298866cb10.zip |
Windows setup: Fix wrong language used in installer if we select a language in the language selection dialog and then select English followed by OK.
Diffstat (limited to 'src')
-rw-r--r-- | src/Common/Language.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Common/Language.c b/src/Common/Language.c index 6dbd8b61..ffccd44e 100644 --- a/src/Common/Language.c +++ b/src/Common/Language.c @@ -209,6 +209,7 @@ static BOOL LoadLanguageData (int resourceid, BOOL bForceSetPreferredLanguage, B LocalizationActive = FALSE; ActiveLangPackVersion[0] = 0; ClearDictionaryPool (); + LanguageResource = NULL; if ((resourceid == 0) && (PreferredLangId[0] != 0)) StringCbCopyA (langId, sizeof(langId), PreferredLangId); |