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/FingerprintNG/src/fingerprint.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/FingerprintNG') diff --git a/plugins/FingerprintNG/src/fingerprint.cpp b/plugins/FingerprintNG/src/fingerprint.cpp index 83ae37180d..afc4ed2b7b 100644 --- a/plugins/FingerprintNG/src/fingerprint.cpp +++ b/plugins/FingerprintNG/src/fingerprint.cpp @@ -803,7 +803,7 @@ int OnExtraImageApply(WPARAM hContact, LPARAM) return 0; ptrW tszMirver; - char *szProto = GetContactProto(hContact); + char *szProto = Proto_GetBaseAccountName(hContact); if (szProto != nullptr) tszMirver = db_get_wsa(hContact, szProto, "MirVer"); @@ -856,7 +856,7 @@ static int OnSrmmWindowEvent(WPARAM, LPARAM lParam) if (event->uType == MSG_WINDOW_EVT_OPEN) { ptrW ptszMirVer; - char *szProto = GetContactProto(event->hContact); + char *szProto = Proto_GetBaseAccountName(event->hContact); if (szProto != nullptr) ptszMirVer = db_get_wsa(event->hContact, szProto, "MirVer"); SetSrmmIcon(event->hContact, ptszMirVer); -- cgit v1.2.3