summaryrefslogtreecommitdiff
path: root/plugins/SecureIM/src/crypt_icons.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-04-01 19:37:35 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-04-01 19:37:35 +0000
commit754c5e27f878dc4a46131593e00e78e054faa995 (patch)
treee49b137bf04d56c58c50f5fb1760a6cf84bca658 /plugins/SecureIM/src/crypt_icons.cpp
parent14ad5bd238bb3fb2edf8284a1c35f175e2f31d5f (diff)
SecureIM:
- thread cleaning; - fix SRMM status icon; - code cleaning git-svn-id: http://svn.miranda-ng.org/main/trunk@4278 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/SecureIM/src/crypt_icons.cpp')
-rw-r--r--plugins/SecureIM/src/crypt_icons.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/SecureIM/src/crypt_icons.cpp b/plugins/SecureIM/src/crypt_icons.cpp
index 6bcfcde382..d5eacbd51b 100644
--- a/plugins/SecureIM/src/crypt_icons.cpp
+++ b/plugins/SecureIM/src/crypt_icons.cpp
@@ -75,7 +75,7 @@ void ShowStatusIcon(HANDLE hContact, int mode)
ExtraIcon_Clear(g_hCLIcon, hMC);
}
- if ( ServiceExists(MS_MSG_MODIFYICON)) { // обновить иконки в srmm
+ if (ServiceExists(MS_MSG_MODIFYICON)) { // обновить иконки в srmm
StatusIconData sid = {sizeof(sid) };
sid.szModule = (char*)MODULENAME;
for (int i = MODE_NATIVE; i < MODE_CNT; i++) {
@@ -84,7 +84,7 @@ void ShowStatusIcon(HANDLE hContact, int mode)
if (mode == -1 || (mode & 0x0f) != i || isChatRoom(hContact))
sid.flags |= MBF_HIDDEN; // отключаем все ненужные иконки
CallService(MS_MSG_MODIFYICON, (WPARAM)hContact, (LPARAM)&sid);
- if ( hMC )
+ if (hMC )
CallService(MS_MSG_MODIFYICON, (WPARAM)hMC, (LPARAM)&sid);
}
}
@@ -98,7 +98,7 @@ void ShowStatusIcon(HANDLE hContact)
void ShowStatusIconNotify(HANDLE hContact)
{
BYTE mode = isContactSecured(hContact);
- NotifyEventHooks(g_hEvent[(mode&SECURED)!=0], (WPARAM)hContact, 0);
+ NotifyEventHooks(g_hEvent[(mode&SECURED) != 0], (WPARAM)hContact, 0);
ShowStatusIcon(hContact,mode);
}
@@ -109,7 +109,7 @@ void RefreshContactListIcons(void)
HANDLE hContact = db_find_first();
while (hContact) { // и снова зажигаем иконку
- if ( isSecureProtocol(hContact))
+ if (isSecureProtocol(hContact))
ShowStatusIcon(hContact);
hContact = db_find_next(hContact);
}