mirror of
https://github.com/veracrypt/VeraCrypt.git
synced 2025-11-11 11:08:02 -06:00
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.
This commit is contained in:
@@ -209,6 +209,7 @@ static BOOL LoadLanguageData (int resourceid, BOOL bForceSetPreferredLanguage, B
|
|||||||
LocalizationActive = FALSE;
|
LocalizationActive = FALSE;
|
||||||
ActiveLangPackVersion[0] = 0;
|
ActiveLangPackVersion[0] = 0;
|
||||||
ClearDictionaryPool ();
|
ClearDictionaryPool ();
|
||||||
|
LanguageResource = NULL;
|
||||||
|
|
||||||
if ((resourceid == 0) && (PreferredLangId[0] != 0))
|
if ((resourceid == 0) && (PreferredLangId[0] != 0))
|
||||||
StringCbCopyA (langId, sizeof(langId), PreferredLangId);
|
StringCbCopyA (langId, sizeof(langId), PreferredLangId);
|
||||||
|
|||||||
Reference in New Issue
Block a user