[SHELL32]

- Don't use SHELL32_GetDisplayNameOfGUIDItem on the desktop folder. Fixes file open dialog. Giannis please review ;)

svn path=/trunk/; revision=68749
This commit is contained in:
Thomas Faber 2015-08-18 10:10:36 +00:00
parent 1072442ea2
commit d21c5f1a76

View file

@ -650,7 +650,7 @@ HRESULT WINAPI CDesktopFolder::GetDisplayNameOf(PCUITEMID_CHILD pidl, DWORD dwFl
if (!strRet)
return E_INVALIDARG;
if (_ILIsPidlSimple(pidl) && _ILIsSpecialFolder(pidl))
if (!_ILIsDesktop(pidl) && _ILIsPidlSimple(pidl) && _ILIsSpecialFolder(pidl))
{
return SHELL32_GetDisplayNameOfGUIDItem(this, L"", pidl, dwFlags, strRet);
}