Author: tfaber
Date: Tue Aug 18 10:10:36 2015
New Revision: 68749
URL:
http://svn.reactos.org/svn/reactos?rev=68749&view=rev
Log:
[SHELL32]
- Don't use SHELL32_GetDisplayNameOfGUIDItem on the desktop folder. Fixes file open
dialog. Giannis please review ;)
Modified:
trunk/reactos/dll/win32/shell32/folders/CDesktopFolder.cpp
Modified: trunk/reactos/dll/win32/shell32/folders/CDesktopFolder.cpp
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/shell32/folders/…
==============================================================================
--- trunk/reactos/dll/win32/shell32/folders/CDesktopFolder.cpp [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/shell32/folders/CDesktopFolder.cpp [iso-8859-1] Tue Aug 18
10:10:36 2015
@@ -650,7 +650,7 @@
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);
}