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.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/CyrTranslit/src/MirandaContact.cpp b/plugins/CyrTranslit/src/MirandaContact.cpp
index 8bf9977dd5..d8b6907083 100644
--- a/plugins/CyrTranslit/src/MirandaContact.cpp
+++ b/plugins/CyrTranslit/src/MirandaContact.cpp
@@ -31,7 +31,7 @@ char *MirandaContact::MENU_ITEM_TEXT = LPGEN("&Transliterate (ÔÛÂÀ->FYVA)");
char *MirandaContact::MENU_COMMAND_CALLBACK_SERVICE
= "CyrTranslit/ContactMenuCmd";
-HANDLE MirandaContact::hTransliterateCmdMenuItem = 0;
+HGENMENU MirandaContact::hTransliterateCmdMenuItem = 0;
//------------------------------------------------------------------------------
@@ -101,7 +101,7 @@ int MirandaContact::onPreBuildContactMenu(WPARAM wParam, LPARAM lParam)
if ( bIsActive(hContact))
mi.flags |= CMIF_CHECKED;
- CallService(MS_CLIST_MODIFYMENUITEM, (WPARAM)hTransliterateCmdMenuItem, (LPARAM)&mi);
+ Menu_ModifyItem(hTransliterateCmdMenuItem, &mi);
return 0;
}