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/SFileGetFileInfo.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/SFileGetFileInfo.cpp')
-rw-r--r-- | src/SFileGetFileInfo.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/SFileGetFileInfo.cpp b/src/SFileGetFileInfo.cpp index b980755..77c86fd 100644 --- a/src/SFileGetFileInfo.cpp +++ b/src/SFileGetFileInfo.cpp @@ -410,7 +410,7 @@ bool WINAPI SFileGetFileInfo( return GetInfo(pvFileInfo, cbFileInfo, &pFileEntry->FileNameHash, sizeof(ULONGLONG), pcbLengthNeeded);
case SFileInfoLocale:
- dwInt32Value = hf->pHashEntry->lcLocale;
+ dwInt32Value = SFILE_MAKE_LCID(hf->pHashEntry->Locale, hf->pHashEntry->Platform);
return GetInfo(pvFileInfo, cbFileInfo, &dwInt32Value, sizeof(DWORD), pcbLengthNeeded);
case SFileInfoFileIndex:
|