summaryrefslogtreecommitdiff
path: root/plugins/LotusNotify
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2015-06-23 07:16:51 +0000
committerKirill Volinsky <mataes2007@gmail.com>2015-06-23 07:16:51 +0000
commite85dccafadf83bb186f39d68a11743f343f13324 (patch)
treebbc4c26f6cc5e2d78b82946864d7e9df0ef43b19 /plugins/LotusNotify
parent4ab12bb105f250aa65057641caae5b17e283f7c1 (diff)
compilation fix
git-svn-id: http://svn.miranda-ng.org/main/trunk@14343 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/LotusNotify')
-rw-r--r--plugins/LotusNotify/src/LotusNotify.cpp8
1 files changed, 1 insertions, 7 deletions
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);
}