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/SmileyAdd/src/dlgboxsubclass.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/SmileyAdd/src/dlgboxsubclass.cpp') diff --git a/plugins/SmileyAdd/src/dlgboxsubclass.cpp b/plugins/SmileyAdd/src/dlgboxsubclass.cpp index 1a786ddae2..078d6e46be 100644 --- a/plugins/SmileyAdd/src/dlgboxsubclass.cpp +++ b/plugins/SmileyAdd/src/dlgboxsubclass.cpp @@ -163,7 +163,7 @@ static int MsgDlgHook(WPARAM, LPARAM lParam) msgwnd->hwndInput = wndEvtData->hwndInput; // Get the protocol for this contact to display correct smileys. - char *protonam = GetContactProto(DecodeMetaContact(msgwnd->hContact)); + char *protonam = Proto_GetBaseAccountName(DecodeMetaContact(msgwnd->hContact)); if (protonam) strncpy_s(msgwnd->ProtocolName, protonam, _TRUNCATE); -- cgit v1.2.3