diff options
author | Ladislav Zezula <zezula@volny.cz> | 2022-10-03 20:06:22 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-03 20:06:22 +0200 |
commit | 3846f0b8e2c47320c6b499492496f3e3f2e76821 (patch) | |
tree | 59610e60d94b65d8439d979802a5852d9b48c745 /src/SFileListFile.cpp | |
parent | 88b18d4d097ef6cabb4f99f3a48db172064ea119 (diff) | |
parent | 305583053bf2796adf3162cf617020c250d7faf7 (diff) |
Merge pull request #265 from ladislav-zezula/LZ_LocaleAndPlatformv9.24
Locale&platform problems fixed
Diffstat (limited to 'src/SFileListFile.cpp')
-rw-r--r-- | src/SFileListFile.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/SFileListFile.cpp b/src/SFileListFile.cpp index 8ce9ae4..6adf1ab 100644 --- a/src/SFileListFile.cpp +++ b/src/SFileListFile.cpp @@ -580,7 +580,7 @@ static DWORD SFileAddInternalListFile( while(dwErrCode == ERROR_SUCCESS && pHash != NULL)
{
// Set the prefered locale to that from list file
- SFileSetLocale(pHash->lcLocale);
+ SFileSetLocale(SFILE_MAKE_LCID(pHash->Locale, pHash->Platform));
// Add that listfile
dwErrCode = SFileAddArbitraryListFile(ha, hMpq, NULL, dwMaxSize);
|