summaryrefslogtreecommitdiff
path: root/plugins/CyrTranslit/MirandaContact.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/CyrTranslit/MirandaContact.cpp')
-rw-r--r--plugins/CyrTranslit/MirandaContact.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/plugins/CyrTranslit/MirandaContact.cpp b/plugins/CyrTranslit/MirandaContact.cpp
index 0906db3769..1a0f149ef8 100644
--- a/plugins/CyrTranslit/MirandaContact.cpp
+++ b/plugins/CyrTranslit/MirandaContact.cpp
@@ -120,11 +120,7 @@ void MirandaContact::generateMenuItemsForAllContacts()
{
CLISTMENUITEM mi;
fillInMenuItem(mi);
-
- int hItem = CallService(
- MS_CLIST_ADDCONTACTMENUITEM, 0, reinterpret_cast<LPARAM>(&mi));
-
- hTransliterateCmdMenuItem = reinterpret_cast<HANDLE>(hItem);
+ hTransliterateCmdMenuItem = Menu_AddContactMenuItem(&mi);
}
//------------------------------------------------------------------------------