summaryrefslogtreecommitdiff
path: root/plugins/FloatingContacts/src/thumbs.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/FloatingContacts/src/thumbs.cpp')
-rw-r--r--plugins/FloatingContacts/src/thumbs.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/FloatingContacts/src/thumbs.cpp b/plugins/FloatingContacts/src/thumbs.cpp
index 46a593c656..33c49626f9 100644
--- a/plugins/FloatingContacts/src/thumbs.cpp
+++ b/plugins/FloatingContacts/src/thumbs.cpp
@@ -300,8 +300,8 @@ void ThumbInfo::ResizeThumb()
void ThumbInfo::RefreshContactIcon(int _iIcon)
{
- if (_iIcon == 0xFFFFFFFF || ImageList_GetImageCount(himlMiranda) <= _iIcon)
- iIcon = pcli->pfnGetContactIcon(hContact);
+ if (_iIcon == -1 || ImageList_GetImageCount(himlMiranda) <= _iIcon)
+ iIcon = Clist_GetContactIcon(hContact);
else
iIcon = _iIcon;