diff options
author | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2017-06-05 01:38:22 +0200 |
---|---|---|
committer | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2017-06-05 01:41:48 +0200 |
commit | eb72fe7aa9aa4be3de58c8dd04b15a42c7634448 (patch) | |
tree | f518986e982290c43e3a3bc7f5c5662b10f1766a /src/Common/Language.c | |
parent | 0ef137c0a4005eca6de49e754cab136e052a6496 (diff) | |
download | VeraCrypt-eb72fe7aa9aa4be3de58c8dd04b15a42c7634448.tar.gz VeraCrypt-eb72fe7aa9aa4be3de58c8dd04b15a42c7634448.zip |
Windows: move language XML files to new "Languages" folder in the installation directory.
Diffstat (limited to 'src/Common/Language.c')
-rw-r--r-- | src/Common/Language.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Common/Language.c b/src/Common/Language.c index 9df6e2aa..82664445 100644 --- a/src/Common/Language.c +++ b/src/Common/Language.c @@ -103,7 +103,7 @@ static char *MapNextLanguageFile () if (t == NULL) return NULL; *t = 0; - StringCbCatW (f, sizeof(f), L"\\Language*.xml"); + StringCbCatW (f, sizeof(f), L"\\Languages\\Language*.xml"); LanguageFileFindHandle = FindFirstFileW (f, &find); } @@ -130,6 +130,7 @@ static char *MapNextLanguageFile () } t[1] = 0; + StringCbCatW (f, sizeof(f), L"Languages\\"); StringCbCatW (f, sizeof(f),find.cFileName); file = CreateFileW (f, GENERIC_READ, 0, NULL, OPEN_EXISTING, 0, NULL); |