From eb72fe7aa9aa4be3de58c8dd04b15a42c7634448 Mon Sep 17 00:00:00 2001 From: Mounir IDRASSI Date: Mon, 5 Jun 2017 01:38:22 +0200 Subject: Windows: move language XML files to new "Languages" folder in the installation directory. --- src/Common/Language.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/Common') 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); -- cgit v1.2.3