VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Common
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2017-06-04 23:38:22 (GMT)
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2017-06-04 23:41:48 (GMT)
commiteb72fe7aa9aa4be3de58c8dd04b15a42c7634448 (patch)
treef518986e982290c43e3a3bc7f5c5662b10f1766a /src/Common
parent0ef137c0a4005eca6de49e754cab136e052a6496 (diff)
downloadVeraCrypt-eb72fe7aa9aa4be3de58c8dd04b15a42c7634448.zip
VeraCrypt-eb72fe7aa9aa4be3de58c8dd04b15a42c7634448.tar.gz
Windows: move language XML files to new "Languages" folder in the installation directory.
Diffstat (limited to 'src/Common')
-rw-r--r--src/Common/Language.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Common/Language.c b/src/Common/Language.c
index 9df6e2a..8266444 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);