diff options
Diffstat (limited to 'src/core/stdclist')
| -rw-r--r-- | src/core/stdclist/src/contact.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/stdclist/src/contact.cpp b/src/core/stdclist/src/contact.cpp index d03630e45b..e4fc490248 100644 --- a/src/core/stdclist/src/contact.cpp +++ b/src/core/stdclist/src/contact.cpp @@ -85,10 +85,10 @@ int CompareContacts(const ClcContact* c1, const ClcContact* c2) return 2 * (statusa == ID_STATUS_OFFLINE) - 1;
}
- nameb = pcli->pfnGetContactDisplayName(a, 0);
+ 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);
|
