summaryrefslogtreecommitdiff
path: root/plugins/Clist_nicer/src/clcitems.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2014-01-22 15:59:28 +0000
committerGeorge Hazan <george.hazan@gmail.com>2014-01-22 15:59:28 +0000
commitdde622d64e2c3ef843c70971b4f108189f19195f (patch)
tree5a09847eba74f7c487f34273655e5a432a0f0f99 /plugins/Clist_nicer/src/clcitems.cpp
parent3ed7d45f598746e4ab0495a9caff96fe4b2127d9 (diff)
clist_nicer: option to display xStatus icon instead of a usual one doesn't work
git-svn-id: http://svn.miranda-ng.org/main/trunk@7827 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Clist_nicer/src/clcitems.cpp')
-rw-r--r--plugins/Clist_nicer/src/clcitems.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/Clist_nicer/src/clcitems.cpp b/plugins/Clist_nicer/src/clcitems.cpp
index 58ae1e9948..7b26c3cefc 100644
--- a/plugins/Clist_nicer/src/clcitems.cpp
+++ b/plugins/Clist_nicer/src/clcitems.cpp
@@ -38,7 +38,7 @@ ClcContact* CreateClcContact( void )
ClcContact* p = (ClcContact*)mir_alloc( sizeof( ClcContact ));
if ( p != NULL ) {
ZeroMemory(p, sizeof(ClcContact));
- p->avatarLeft = p->extraIconRightBegin = -1;
+ p->avatarLeft = p->extraIconRightBegin = p->xStatusIcon = -1;
}
return p;
}
@@ -107,10 +107,10 @@ int AddContactToGroup(struct ClcData *dat, ClcGroup *group, HANDLE hContact)
if (p->bIsMeta && cfg::dat.bMetaAvail && !(cfg::dat.dwFlags & CLUI_USEMETAICONS)) {
p->hSubContact = (HANDLE)CallService(MS_MC_GETMOSTONLINECONTACT, (WPARAM) hContact, 0);
p->metaProto = GetContactProto(p->hSubContact);
- p->iImage = CallService(MS_CLIST_GETCONTACTICON, (WPARAM) p->hSubContact, 0);
+ p->iImage = pcli->pfnGetContactIcon(p->hSubContact);
}
else {
- p->iImage = CallService(MS_CLIST_GETCONTACTICON, (WPARAM) hContact, 0);
+ p->iImage = pcli->pfnGetContactIcon(hContact);
p->metaProto = NULL;
}