From bcb7df7665e7df7419694c6e21e9aff3dbeb1213 Mon Sep 17 00:00:00 2001 From: Mark Jansen Date: Wed, 6 Jul 2016 19:30:59 +0000 Subject: [PATCH] [SHELL32] Disable Paste menu items when no items are in the clipboard. Patch by Jared Smudde. CORE-11492 #resolve #comment Thanks! svn path=/trunk/; revision=71834 --- reactos/dll/win32/shell32/CDefaultContextMenu.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/reactos/dll/win32/shell32/CDefaultContextMenu.cpp b/reactos/dll/win32/shell32/CDefaultContextMenu.cpp index 9f727dcff5f..69005743b3b 100644 --- a/reactos/dll/win32/shell32/CDefaultContextMenu.cpp +++ b/reactos/dll/win32/shell32/CDefaultContextMenu.cpp @@ -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