Author: gadamopoulos
Date: Tue Oct 28 00:58:19 2014
New Revision: 65064

URL: http://svn.reactos.org/svn/reactos?rev=65064&view=rev
Log:
[SHELL32]
- Properly check for error in CDefaultContextMenu::DoCreateLink

Modified:
    branches/shell-experiments/dll/win32/shell32/defcontextmenu.cpp

Modified: branches/shell-experiments/dll/win32/shell32/defcontextmenu.cpp
URL: 
http://svn.reactos.org/svn/reactos/branches/shell-experiments/dll/win32/shell32/defcontextmenu.cpp?rev=65064&r1=65063&r2=65064&view=diff
==============================================================================
--- branches/shell-experiments/dll/win32/shell32/defcontextmenu.cpp     
[iso-8859-1] (original)
+++ branches/shell-experiments/dll/win32/shell32/defcontextmenu.cpp     
[iso-8859-1] Tue Oct 28 00:58:19 2014
@@ -1115,7 +1115,7 @@
         return hr;
     }
 
-    psfTarget->QueryInterface(IID_PPV_ARG(IDropTarget, &pDT));
+    hr = psfTarget->QueryInterface(IID_PPV_ARG(IDropTarget, &pDT));
     if (FAILED(hr))
     {
         ERR("no IDropTarget Interface\n");


Reply via email to