From 5afa0815c96799ab78406d59d3b5b2298866cb10 Mon Sep 17 00:00:00 2001 From: Mounir IDRASSI Date: Tue, 10 Mar 2020 20:18:08 +0100 Subject: 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. --- src/Common/Language.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/Common') 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); -- cgit v1.2.3