summaryrefslogtreecommitdiff
path: root/plugins/Scriver/msgs.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Scriver/msgs.c')
-rw-r--r--plugins/Scriver/msgs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Scriver/msgs.c b/plugins/Scriver/msgs.c
index c0f63b6538..0ce59281ea 100644
--- a/plugins/Scriver/msgs.c
+++ b/plugins/Scriver/msgs.c
@@ -537,7 +537,7 @@ static int OnModulesLoaded(WPARAM wParam, LPARAM lParam)
}
mi.pszName = LPGEN("&Message");
mi.pszService = MS_MSG_SENDMESSAGE;
- hMsgMenuItem = (HANDLE) CallService(MS_CLIST_ADDCONTACTMENUITEM, 0, (LPARAM) & mi);
+ hMsgMenuItem = Menu_AddContactMenuItem(&mi);
CallService(MS_SKIN2_RELEASEICON,(WPARAM)mi.hIcon, 0);
HookEvent_Ex(ME_SMILEYADD_OPTIONSCHANGED, SmileySettingsChanged);