summaryrefslogtreecommitdiff
path: root/protocols/MSN/src/msn_std.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/MSN/src/msn_std.cpp')
-rw-r--r--protocols/MSN/src/msn_std.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/MSN/src/msn_std.cpp b/protocols/MSN/src/msn_std.cpp
index a29db7b667..f9e956780a 100644
--- a/protocols/MSN/src/msn_std.cpp
+++ b/protocols/MSN/src/msn_std.cpp
@@ -46,7 +46,7 @@ void CMsnProto::setStringUtf(MCONTACT hContact, const char* name, const char* va
TCHAR* CMsnProto::GetContactNameT(MCONTACT hContact)
{
if (hContact)
- return (TCHAR*)CallService(MS_CLIST_GETCONTACTDISPLAYNAME, WPARAM(hContact), GCDNF_TCHAR);
+ return (TCHAR*)pcli->pfnGetContactDisplayName(WPARAM(hContact), 0);
CONTACTINFO ci = { 0 };
ci.cbSize = sizeof(ci);