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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user