From 3bb16e798cb51d5764aacbefd4edf26f52d8c4f0 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Wed, 4 Dec 2019 16:08:03 +0300 Subject: GetContactProto: useless duplicate function replaced with standard Proto_GetBaseAccountName --- plugins/TooltipNotify/src/TooltipNotify.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/TooltipNotify/src/TooltipNotify.cpp') diff --git a/plugins/TooltipNotify/src/TooltipNotify.cpp b/plugins/TooltipNotify/src/TooltipNotify.cpp index 5fe29327b7..6a3855746e 100644 --- a/plugins/TooltipNotify/src/TooltipNotify.cpp +++ b/plugins/TooltipNotify/src/TooltipNotify.cpp @@ -809,7 +809,7 @@ wchar_t* CTooltipNotify::MakeTooltipString(MCONTACT hContact, int iStatus, wchar const wchar_t *szFormatString = m_sOptions.bPrefixProto ? L"%s%s%s" : L"%.0s%.0s%s"; const wchar_t* szIs = TranslateT("is"); - const char* szProto = hContact == 0 ? "Proto" : ::GetContactProto(hContact); + const char* szProto = hContact == 0 ? "Proto" : ::Proto_GetBaseAccountName(hContact); const wchar_t* szContactName = ::Clist_GetContactDisplayName(hContact); memset(szString, 0, iBufSize*sizeof(wchar_t)); -- cgit v1.2.3