https://git.reactos.org/?p=reactos.git;a=commitdiff;h=39c0fd5722d68caf0a235…
commit 39c0fd5722d68caf0a2356063d59a6f668d63b49
Author: Maxim Smirnov <33279413+Simi4(a)users.noreply.github.com>
AuthorDate: Wed Apr 3 00:03:19 2019 +0300
Commit: Hermès BÉLUSCA - MAÏTO <hermes.belusca-maito(a)reactos.org>
CommitDate: Wed Apr 3 00:51:24 2019 +0200
[SHELL32] Fix version info in the file dialog
---
dll/win32/shell32/dialogs/filedefext.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dll/win32/shell32/dialogs/filedefext.cpp
b/dll/win32/shell32/dialogs/filedefext.cpp
index d919753cdb..8abb407682 100644
--- a/dll/win32/shell32/dialogs/filedefext.cpp
+++ b/dll/win32/shell32/dialogs/filedefext.cpp
@@ -80,7 +80,7 @@ LPCWSTR CFileVersionInfo::GetString(LPCWSTR pwszName)
if (!VerQueryValueW(m_pInfo, wszBuf, (LPVOID *)&pwszResult, &cBytes))
pwszResult = NULL;
- if (!m_wLang && !m_wCode)
+ if (!pwszResult)
{
/* Try US English */
swprintf(wszBuf, L"\\StringFileInfo\\%04x%04x\\%s",
MAKELANGID(LANG_ENGLISH, SUBLANG_ENGLISH_US), 1252, pwszName);