From e85dccafadf83bb186f39d68a11743f343f13324 Mon Sep 17 00:00:00 2001 From: Kirill Volinsky Date: Tue, 23 Jun 2015 07:16:51 +0000 Subject: compilation fix git-svn-id: http://svn.miranda-ng.org/main/trunk@14343 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/LotusNotify/src/LotusNotify.cpp | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'plugins/LotusNotify') diff --git a/plugins/LotusNotify/src/LotusNotify.cpp b/plugins/LotusNotify/src/LotusNotify.cpp index e59c66c188..087ea1a802 100644 --- a/plugins/LotusNotify/src/LotusNotify.cpp +++ b/plugins/LotusNotify/src/LotusNotify.cpp @@ -539,13 +539,7 @@ void ErMsgByLotusCode(STATUS erno) static void LNEnableMenuItem(HGENMENU hMenuItem, BOOL bEnable) { log_p(L"LNEnableMenuItem: bEnable=%d", bEnable); - CLISTMENUITEM clmi = {0}; - clmi.cbSize = sizeof(CLISTMENUITEM); - clmi.flags = CMIM_FLAGS; - if ( !bEnable ) - clmi.flags |= CMIF_GRAYED; - - Menu_ModifyItem(hMenuItem, &clmi); + Menu_ModifyItem(hMenuItem, NULL, INVALID_HANDLE_VALUE, bEnable ? 0 : CMIF_GRAYED); } -- cgit v1.2.3