summaryrefslogtreecommitdiff
path: root/plugins/Clist_blind
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Clist_blind')
-rw-r--r--plugins/Clist_blind/src/contact.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/Clist_blind/src/contact.cpp b/plugins/Clist_blind/src/contact.cpp
index cb28daae58..f9881fcd1b 100644
--- a/plugins/Clist_blind/src/contact.cpp
+++ b/plugins/Clist_blind/src/contact.cpp
@@ -84,10 +84,10 @@ int CompareContacts(const ClcContact* c1, const ClcContact* c2)
}
wchar_t namea[128];
- wchar_t *nameb = pcli->pfnGetContactDisplayName(a, 0);
+ wchar_t *nameb = Clist_GetContactDisplayName(a);
wcsncpy_s(namea, nameb, _TRUNCATE);
namea[ _countof(namea)-1 ] = 0;
- nameb = pcli->pfnGetContactDisplayName(b, 0);
+ nameb = Clist_GetContactDisplayName(b);
//otherwise just compare names
return mir_wstrcmpi(namea, nameb);