mirror of
https://github.com/reactos/reactos.git
synced 2025-07-31 18:22:35 +00:00
[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:
parent
1072442ea2
commit
d21c5f1a76
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue