From 68d3fd47bb9b75e65859d14199ffee01f16ac9a7 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Mon, 10 Feb 2014 20:47:51 +0000 Subject: HCONTACT is not needed anymore git-svn-id: http://svn.miranda-ng.org/main/trunk@8086 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/SecureIM/src/crypt_icons.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'plugins/SecureIM/src/crypt_icons.cpp') diff --git a/plugins/SecureIM/src/crypt_icons.cpp b/plugins/SecureIM/src/crypt_icons.cpp index dfb0d0771d..f4eb6b75c2 100644 --- a/plugins/SecureIM/src/crypt_icons.cpp +++ b/plugins/SecureIM/src/crypt_icons.cpp @@ -62,9 +62,9 @@ HANDLE mode2clicon(int mode, int type) } // обновляет иконки в clist и в messagew -void ShowStatusIcon(HCONTACT hContact, int mode) +void ShowStatusIcon(MCONTACT hContact, int mode) { - HCONTACT hMC = getMetaContact(hContact); + MCONTACT hMC = getMetaContact(hContact); // обновить иконки в clist if (mode != -1) { @@ -92,12 +92,12 @@ void ShowStatusIcon(HCONTACT hContact, int mode) } } -void ShowStatusIcon(HCONTACT hContact) +void ShowStatusIcon(MCONTACT hContact) { ShowStatusIcon(hContact, isContactSecured(hContact)); } -void ShowStatusIconNotify(HCONTACT hContact) +void ShowStatusIconNotify(MCONTACT hContact) { BYTE mode = isContactSecured(hContact); NotifyEventHooks(g_hEvent[(mode&SECURED) != 0], (WPARAM)hContact, 0); @@ -109,7 +109,7 @@ void RefreshContactListIcons(void) for (int i=0; i < arIcoList.getCount(); i++) arIcoList[i].hCLIcon = 0; - for (HCONTACT hContact = db_find_first(); hContact; hContact = db_find_next(hContact)) + for (MCONTACT hContact = db_find_first(); hContact; hContact = db_find_next(hContact)) if (isSecureProtocol(hContact)) ShowStatusIcon(hContact); } -- cgit v1.2.3