mirror of
https://github.com/reactos/reactos.git
synced 2024-09-28 05:26:58 +00:00
[SHELL32] Fix version info in the file dialog
This commit is contained in:
parent
6d5a81013c
commit
39c0fd5722
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue