VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Common
diff options
context:
space:
mode:
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 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);