summaryrefslogtreecommitdiff
path: root/plugins/RecentContacts/src/RecentContacts.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/RecentContacts/src/RecentContacts.cpp')
-rw-r--r--plugins/RecentContacts/src/RecentContacts.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/RecentContacts/src/RecentContacts.cpp b/plugins/RecentContacts/src/RecentContacts.cpp
index 1952c4557a..1d7574dfaa 100644
--- a/plugins/RecentContacts/src/RecentContacts.cpp
+++ b/plugins/RecentContacts/src/RecentContacts.cpp
@@ -14,7 +14,7 @@ int hLangpack = 0;
HANDLE hTopToolbarButtonShowList;
HANDLE hMsgWndEvent;
HANDLE hWindowList;
-HANDLE hMenuItemRemove;
+HGENMENU hMenuItemRemove;
const INT_PTR boo = 0;
@@ -491,7 +491,7 @@ static int OnPrebuildContactMenu (WPARAM wParam, LPARAM lParam)
else
clmi.ptszName = TranslateT("Show Contact");
- CallService( MS_CLIST_MODIFYMENUITEM, (WPARAM)hMenuItemRemove, (LPARAM)&clmi );
+ Menu_ModifyItem(hMenuItemRemove, &clmi);
return 0;
}