Author: gadamopoulos
Date: Tue May 3 17:10:09 2016
New Revision: 71244
URL:
http://svn.reactos.org/svn/reactos?rev=71244&view=rev
Log:
[SHELL32]
- Remove a debug message that should have been removed before committing.
- Also fix a test failure.
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 May 3
17:10:09 2016
@@ -310,8 +310,6 @@
if (!_ILSimpleGetTextW(pidl, szFileName + cLen, MAX_PATH - cLen))
return E_FAIL;
- ERR("%S\n", szFileName);
-
if (GetFileAttributes(szFileName) == INVALID_FILE_ATTRIBUTES)
return m_SharedDesktopFSFolder->QueryInterface(IID_PPV_ARG(IShellFolder2,
psf));
else
@@ -445,8 +443,8 @@
REFIID riid,
LPVOID *ppvOut)
{
- TRACE ("(%p)->(pidl=%p,%p,%s,%p)\n",
- this, pidl, pbcReserved, shdebugstr_guid (&riid), ppvOut);
+ if (!pidl)
+ return E_INVALIDARG;
if (_ILIsSpecialFolder(pidl))
return SHELL32_BindToGuidItem(pidlRoot, pidl, pbcReserved, riid, ppvOut);