[SHELL32] Disable Paste menu items when no items are in the clipboard. Patch by Jared...
authorMark Jansen <mark.jansen@reactos.org>
Wed, 6 Jul 2016 19:30:59 +0000 (19:30 +0000)
committerMark Jansen <mark.jansen@reactos.org>
Wed, 6 Jul 2016 19:30:59 +0000 (19:30 +0000)
svn path=/trunk/; revision=71834

reactos/dll/win32/shell32/CDefaultContextMenu.cpp

index 9f727dc..6900574 100644 (file)
@@ -366,8 +366,8 @@ DisablePasteOptions(HMENU hMenu)
     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