From 88790eed4ffd9ca555c8f9b73cb014a93b57a34f Mon Sep 17 00:00:00 2001 From: George Hazan Date: Mon, 22 Jun 2015 20:38:56 +0000 Subject: Menu_ModifyItem unbound from CLISTMENUITEM structure git-svn-id: http://svn.miranda-ng.org/main/trunk@14334 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/CyrTranslit/src/MirandaContact.cpp | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'plugins/CyrTranslit') diff --git a/plugins/CyrTranslit/src/MirandaContact.cpp b/plugins/CyrTranslit/src/MirandaContact.cpp index 358b313ba6..653e134388 100644 --- a/plugins/CyrTranslit/src/MirandaContact.cpp +++ b/plugins/CyrTranslit/src/MirandaContact.cpp @@ -90,12 +90,7 @@ int MirandaContact::onPreBuildContactMenu(WPARAM wParam, LPARAM) MCONTACT hContact = MCONTACT(wParam); if (!CallService(MS_DB_CONTACT_IS, wParam, 0)) return 0; - CLISTMENUITEM mi = { 0 }; - mi.flags = CMIM_FLAGS; - if ( bIsActive(hContact)) - mi.flags |= CMIF_CHECKED; - - Menu_ModifyItem(hTransliterateCmdMenuItem, &mi); + Menu_ModifyItem(hTransliterateCmdMenuItem, NULL, INVALID_HANDLE_VALUE, bIsActive(hContact) ? CMIF_CHECKED : 0); return 0; } -- cgit v1.2.3