summaryrefslogtreecommitdiff
path: root/plugins/AvatarHistory/AvatarDlg.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/AvatarHistory/AvatarDlg.cpp')
-rw-r--r--plugins/AvatarHistory/AvatarDlg.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/AvatarHistory/AvatarDlg.cpp b/plugins/AvatarHistory/AvatarDlg.cpp
index 4abe154016..0e829b4d9c 100644
--- a/plugins/AvatarHistory/AvatarDlg.cpp
+++ b/plugins/AvatarHistory/AvatarDlg.cpp
@@ -551,7 +551,7 @@ void InitMenuItem()
mi.position = 1000090010;
mi.hIcon = createDefaultOverlayedIcon(FALSE);
mi.pszService = MS_AVATARHISTORY_SHOWDIALOG;
- hMenu = (HANDLE)CallService(MS_CLIST_ADDCONTACTMENUITEM, 0, (LPARAM)&mi);
+ hMenu = Menu_AddContactMenuItem(&mi);
DestroyIcon(mi.hIcon);
}