From 08b350c0dcfa4a423cbc65e214f1028fd12a80c0 Mon Sep 17 00:00:00 2001 From: Giannis Adamopoulos Date: Fri, 18 Aug 2017 17:39:34 +0000 Subject: [PATCH] [SHELL32] -CDefaultContextMenu: Correctly differentiate the copy and the cut commands. svn path=/trunk/; revision=75619 --- reactos/dll/win32/shell32/CDefaultContextMenu.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reactos/dll/win32/shell32/CDefaultContextMenu.cpp b/reactos/dll/win32/shell32/CDefaultContextMenu.cpp index a16ab80e32d..172b478d363 100644 --- a/reactos/dll/win32/shell32/CDefaultContextMenu.cpp +++ b/reactos/dll/win32/shell32/CDefaultContextMenu.cpp @@ -1212,7 +1212,7 @@ CDefaultContextMenu::InvokeCommand( 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); -- 2.17.1