summaryrefslogtreecommitdiff
path: root/plugins/AvatarHistory/src/icolib.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/AvatarHistory/src/icolib.cpp')
-rw-r--r--plugins/AvatarHistory/src/icolib.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/AvatarHistory/src/icolib.cpp b/plugins/AvatarHistory/src/icolib.cpp
index 76bc96d80c..acc5d642c3 100644
--- a/plugins/AvatarHistory/src/icolib.cpp
+++ b/plugins/AvatarHistory/src/icolib.cpp
@@ -123,7 +123,7 @@ HICON createProtoOverlayedIcon(HANDLE hContact)
{
HICON icon1 = LoadIconEx(I_OVERLAY);
- char *szProto = (char *)CallService(MS_PROTO_GETCONTACTBASEPROTO, (WPARAM)hContact, 0);
+ char *szProto = GetContactProto(hContact);
HICON icon0 = LoadSkinnedProtoIcon(szProto, ID_STATUS_ONLINE);
HICON resIcon = getOverlayedIcon(icon0, icon1, FALSE);