From 78c0815c4118fe24ab78cce2dc48a6232dcd824a Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sat, 2 Jun 2012 20:55:18 +0000 Subject: - code cleaning git-svn-id: http://svn.miranda-ng.org/main/trunk@270 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/SecureIM/svcs_srmm.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'plugins/SecureIM/svcs_srmm.cpp') 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); } -- cgit v1.2.3