mirror of
https://github.com/reactos/reactos.git
synced 2025-02-22 08:25:03 +00:00
[FONTEXT] Fix CFontExt::GetDisplayNameOf for SHGDN_FORPARSING (#7134)
Fix font enumeration and AutoComplete on %WINDIR%\Fonts. JIRA issue: CORE-9281 "Replace if (dwFlags == SHGDN_FORPARSING)" with "if (dwFlags & SHGDN_FORPARSING)".
This commit is contained in:
parent
a943bb4613
commit
28e7af7531
1 changed files with 1 additions and 1 deletions
|
@ -426,7 +426,7 @@ STDMETHODIMP CFontExt::GetDisplayNameOf(PCUITEMID_CHILD pidl, DWORD dwFlags, LPS
|
|||
if (!fontEntry)
|
||||
return E_FAIL;
|
||||
|
||||
if (dwFlags == SHGDN_FORPARSING)
|
||||
if (dwFlags & SHGDN_FORPARSING)
|
||||
{
|
||||
CStringW File = g_FontCache->Filename(g_FontCache->Find(fontEntry), true);
|
||||
if (!File.IsEmpty())
|
||||
|
|
Loading…
Reference in a new issue