summaryrefslogtreecommitdiff
path: root/plugins/CyrTranslit/src/MirandaContact.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/CyrTranslit/src/MirandaContact.cpp')
-rw-r--r--plugins/CyrTranslit/src/MirandaContact.cpp7
1 files changed, 1 insertions, 6 deletions
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;
}