diff options
author | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2015-09-09 01:16:27 +0200 |
---|---|---|
committer | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2015-09-10 01:44:09 +0200 |
commit | c55e08b31e8100a593b4f81784489a820de807a1 (patch) | |
tree | 0fa78904e6ce22cf6fa94f74bd7357a31c371522 /src/Common/Language.c | |
parent | 09db742c3e7e2d10bbef4619aff395d154386ee0 (diff) | |
download | VeraCrypt-c55e08b31e8100a593b4f81784489a820de807a1.tar.gz VeraCrypt-c55e08b31e8100a593b4f81784489a820de807a1.zip |
Windows: When no language selected by user, explicitly use English as default one unless VeraCrypt is in portable mode.
Diffstat (limited to 'src/Common/Language.c')
-rw-r--r-- | src/Common/Language.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Common/Language.c b/src/Common/Language.c index fb20a6fb..e6abd38d 100644 --- a/src/Common/Language.c +++ b/src/Common/Language.c @@ -35,10 +35,10 @@ BOOL LocalizationActive;
int LocalizationSerialNo;
-wchar_t UnknownString[1024];
+wchar_t UnknownString[1024] = {0};
static char *LanguageFileBuffer = NULL;
static HANDLE LanguageFileFindHandle = INVALID_HANDLE_VALUE;
-static char PreferredLangId[6];
+static char PreferredLangId[6] = {0};
static char *LanguageResource = NULL;
static DWORD LanguageResourceSize = 0;
static char *HeaderResource[2] = {NULL, NULL};
|