Author: cwittich
Date: Sun Sep 4 07:08:50 2016
New Revision: 72559
URL:
http://svn.reactos.org/svn/reactos?rev=72559&view=rev
Log:
shell32: Do nothing if we can't convert PIDL to path in SHAddToRecentDocs (wine commit
from Vincent Povirk)
Modified:
trunk/reactos/dll/win32/shell32/wine/shellord.c
Modified: trunk/reactos/dll/win32/shell32/wine/shellord.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/shell32/wine/she…
==============================================================================
--- trunk/reactos/dll/win32/shell32/wine/shellord.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/shell32/wine/shellord.c [iso-8859-1] Sun Sep 4 07:08:50 2016
@@ -800,7 +800,11 @@
switch (uFlags)
{
case SHARD_PIDL:
- SHGetPathFromIDListA(pv, doc_name);
+ if (!SHGetPathFromIDListA(pv, doc_name))
+ {
+ WARN("can't get path from PIDL\n");
+ return;
+ }
break;
case SHARD_PATHA: