1
0
mirror of https://github.com/veracrypt/VeraCrypt.git synced 2025-11-12 19:38:26 -06:00

Windows: move language XML files to new "Languages" folder in the installation directory.

This commit is contained in:
Mounir IDRASSI
2017-06-05 01:38:22 +02:00
parent 0ef137c0a4
commit eb72fe7aa9
7 changed files with 44 additions and 111 deletions

View File

@@ -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);