summaryrefslogtreecommitdiff
path: root/src/mir_app/src/addcontact.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mir_app/src/addcontact.cpp')
-rw-r--r--src/mir_app/src/addcontact.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mir_app/src/addcontact.cpp b/src/mir_app/src/addcontact.cpp
index 19e50419ec..2d834fca55 100644
--- a/src/mir_app/src/addcontact.cpp
+++ b/src/mir_app/src/addcontact.cpp
@@ -178,7 +178,7 @@ MIR_APP_DLL(void) Contact_Add(MCONTACT hContact, HWND hwndParent)
CAddByContact(MCONTACT hContact)
{
m_hContact = hContact;
- m_szName = cli.pfnGetContactDisplayName(hContact, 0);
+ m_szName = Clist_GetContactDisplayName(hContact);
m_szProto = GetContactProto(hContact);
}
};
@@ -209,7 +209,7 @@ MIR_APP_DLL(void) Contact_AddByEvent(MEVENT hEvent, HWND hwndParent)
m_hContact = dwData[1];
if (m_hContact != INVALID_CONTACT_ID)
- m_szName = cli.pfnGetContactDisplayName(m_hContact, 0);
+ m_szName = Clist_GetContactDisplayName(m_hContact);
m_szProto = dbei.szModule;
}