Author: mjansen
Date: Wed Jul 6 19:30:59 2016
New Revision: 71834
URL:
http://svn.reactos.org/svn/reactos?rev=71834&view=rev
Log:
[SHELL32] Disable Paste menu items when no items are in the clipboard. Patch by Jared
Smudde. CORE-11492 #resolve #comment Thanks!
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] Wed Jul 6
19:30:59 2016
@@ -366,8 +366,8 @@
mii.fMask = MIIM_STATE;
mii.fState = MFS_DISABLED;
- TRACE("result %d\n", SetMenuItemInfoW(hMenu, FCIDM_SHVIEW_INSERT, FALSE,
&mii));
- TRACE("result %d\n", SetMenuItemInfoW(hMenu, FCIDM_SHVIEW_INSERTLINK,
FALSE, &mii));
+ SetMenuItemInfoW(hMenu, FCIDM_SHVIEW_INSERT, FALSE, &mii);
+ SetMenuItemInfoW(hMenu, FCIDM_SHVIEW_INSERTLINK, FALSE, &mii);
}
BOOL