summaryrefslogtreecommitdiff
path: root/plugins/TabSRMM/src/contactcache.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/TabSRMM/src/contactcache.cpp')
-rw-r--r--plugins/TabSRMM/src/contactcache.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/TabSRMM/src/contactcache.cpp b/plugins/TabSRMM/src/contactcache.cpp
index 86e2066837..92ae6c0c39 100644
--- a/plugins/TabSRMM/src/contactcache.cpp
+++ b/plugins/TabSRMM/src/contactcache.cpp
@@ -111,7 +111,7 @@ bool CContactCache::updateNick()
{
bool fChanged = false;
if (m_isValid) {
- wchar_t *tszNick = pcli->pfnGetContactDisplayName(getActiveContact(), 0);
+ wchar_t *tszNick = Clist_GetContactDisplayName(getActiveContact());
if (tszNick && mir_wstrcmp(m_szNick, tszNick))
fChanged = true;
wcsncpy_s(m_szNick, (tszNick ? tszNick : L"<undef>"), _TRUNCATE);