Author: gadamopoulos
Date: Fri Aug 18 17:39:34 2017
New Revision: 75619
URL:
http://svn.reactos.org/svn/reactos?rev=75619&view=rev
Log:
[SHELL32] -CDefaultContextMenu: Correctly differentiate the copy and the cut commands.
Modified:
trunk/reactos/dll/win32/shell32/CDefaultContextMenu.cpp
Modified: trunk/reactos/dll/win32/shell32/CDefaultContextMenu.cpp
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/shell32/CDefault…
==============================================================================
--- trunk/reactos/dll/win32/shell32/CDefaultContextMenu.cpp [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/shell32/CDefaultContextMenu.cpp [iso-8859-1] Fri Aug 18
17:39:34 2017
@@ -1212,7 +1212,7 @@
break;
case FCIDM_SHVIEW_COPY:
case FCIDM_SHVIEW_CUT:
- Result = DoCopyOrCut(&LocalInvokeInfo, LOWORD(LocalInvokeInfo.lpVerb) ==
FCIDM_SHVIEW_COPY);
+ Result = DoCopyOrCut(&LocalInvokeInfo, CmdId == FCIDM_SHVIEW_COPY);
break;
case FCIDM_SHVIEW_CREATELINK:
Result = DoCreateLink(&LocalInvokeInfo);