diff options
author | George Hazan <george.hazan@gmail.com> | 2012-06-02 20:55:18 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2012-06-02 20:55:18 +0000 |
commit | 78c0815c4118fe24ab78cce2dc48a6232dcd824a (patch) | |
tree | 8512c50df70b8dd80c919e88ade3419207c95956 /plugins/SecureIM/svcs_srmm.cpp | |
parent | ce816d83a8c75808e0eb06832592bffefe4a8dc4 (diff) |
- code cleaning
git-svn-id: http://svn.miranda-ng.org/main/trunk@270 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/SecureIM/svcs_srmm.cpp')
-rw-r--r-- | plugins/SecureIM/svcs_srmm.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/SecureIM/svcs_srmm.cpp b/plugins/SecureIM/svcs_srmm.cpp index c187ff7b56..ea7b8be780 100644 --- a/plugins/SecureIM/svcs_srmm.cpp +++ b/plugins/SecureIM/svcs_srmm.cpp @@ -13,11 +13,11 @@ int __cdecl onWindowEvent(WPARAM wParam, LPARAM lParam) { int __cdecl onIconPressed(WPARAM wParam, LPARAM lParam) {
HANDLE hContact = (HANDLE)wParam;
- if( isProtoMetaContacts(hContact) )
+ if ( isProtoMetaContacts(hContact) )
hContact = getMostOnline(hContact); // возьмем тот, через который пойдет сообщение
StatusIconClickData *sicd = (StatusIconClickData *)lParam;
- if( strcmp(sicd->szModule, szModuleName) != 0 ||
+ if ( strcmp(sicd->szModule, szModuleName) != 0 ||
!isSecureProtocol(hContact) ) return 0; // not our event
BOOL isPGP = isContactPGP(hContact);
@@ -25,7 +25,7 @@ int __cdecl onIconPressed(WPARAM wParam, LPARAM lParam) { BOOL isSecured = isContactSecured(hContact)&SECURED;
BOOL isChat = isChatRoom(hContact);
- if( !isPGP && !isGPG && !isChat ) {
+ if ( !isPGP && !isGPG && !isChat ) {
if(isSecured) Service_DisableIM(wParam,0);
else Service_CreateIM(wParam,0);
}
|