[SHELL32][BROWSEUI] Fix usage of ILGetDisplayNameEx

This commit is contained in:
Mark Jansen
2020-09-13 15:03:24 +02:00
parent b3f2ba0522
commit bac45efe5d
2 changed files with 2 additions and 2 deletions

View File

@@ -42,7 +42,7 @@ HRESULT STDMETHODCALLTYPE CFolder::get_Title(BSTR *pbs)
return E_POINTER;
WCHAR path[MAX_PATH+2] = {0};
HRESULT hr = ILGetDisplayNameExW(NULL, m_idlist, path, ILGDN_INFOLDER);
HRESULT hr = ILGetDisplayNameExW(NULL, m_idlist, path, ILGDN_INFOLDER) ? S_OK : E_FAIL;
if (FAILED_UNEXPECTEDLY(hr))
return hr;