From 35e2289786a7f1542573d1a58ebc971970ea981c Mon Sep 17 00:00:00 2001 From: George Hazan Date: Thu, 5 Apr 2018 22:10:25 +0300 Subject: CLIST_INTERFACE::pfnGetContactDisplayName => Clist_GetContactDisplayName --- plugins/Scriver/src/msgdialog.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'plugins/Scriver/src/msgdialog.cpp') diff --git a/plugins/Scriver/src/msgdialog.cpp b/plugins/Scriver/src/msgdialog.cpp index a2562174cb..9df51fc70c 100644 --- a/plugins/Scriver/src/msgdialog.cpp +++ b/plugins/Scriver/src/msgdialog.cpp @@ -728,7 +728,7 @@ void CSrmmWindow::UpdateStatusBar() else if (m_nTypeSecs) { sbd.hIcon = GetCachedIcon("scriver_TYPING"); sbd.pszText = szText; - mir_snwprintf(szText, TranslateT("%s is typing a message..."), pcli->pfnGetContactDisplayName(m_hContact, 0)); + mir_snwprintf(szText, TranslateT("%s is typing a message..."), Clist_GetContactDisplayName(m_hContact)); m_nTypeSecs--; } else if (m_lastMessage) { @@ -790,7 +790,7 @@ void CSrmmWindow::UpdateTitle() wszTitle = L"%name% (%status%) : "; if (m_hContact && m_szProto) { - wszTitle.Replace(L"%name%", pcli->pfnGetContactDisplayName(m_hContact, 0)); + wszTitle.Replace(L"%name%", Clist_GetContactDisplayName(m_hContact)); wszTitle.Replace(L"%status%", Clist_GetStatusModeDescription(db_get_w(m_hContact, m_szProto, "Status", ID_STATUS_OFFLINE), 0)); CMStringW tszStatus = ptrW(db_get_wsa(m_hContact, "CList", "StatusMsg")); @@ -1160,7 +1160,7 @@ INT_PTR CSrmmWindow::DlgProc(UINT msg, WPARAM wParam, LPARAM lParam) TabControlData tcd; tcd.iFlags = TCDF_TEXT | TCDF_ICON; tcd.hIcon = GetTabIcon(); - tcd.pszText = pcli->pfnGetContactDisplayName(m_hContact, 0); + tcd.pszText = Clist_GetContactDisplayName(m_hContact); SendMessage(m_hwndParent, CM_UPDATETABCONTROL, (WPARAM)&tcd, (LPARAM)m_hwnd); break; -- cgit v1.2.3