summaryrefslogtreecommitdiff
path: root/plugins/SecureIM/src/svcs_menu.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/svcs_menu.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/svcs_menu.cpp')
-rw-r--r--plugins/SecureIM/src/svcs_menu.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/SecureIM/src/svcs_menu.cpp b/plugins/SecureIM/src/svcs_menu.cpp
index 7190bbe785..516e941459 100644
--- a/plugins/SecureIM/src/svcs_menu.cpp
+++ b/plugins/SecureIM/src/svcs_menu.cpp
@@ -28,7 +28,7 @@ INT_PTR __cdecl Service_Status(WPARAM wParam, LPARAM lParam)
pUinKey ptr = getUinKey((HANDLE)wParam);
if (ptr) {
ptr->status=ptr->tstatus=(BYTE)lParam;
- if (ptr->status==STATUS_ENABLED) db_unset(ptr->hContact, MODULENAME, "StatusID");
+ if (ptr->status == STATUS_ENABLED) db_unset(ptr->hContact, MODULENAME, "StatusID");
else db_set_b(ptr->hContact, MODULENAME, "StatusID", ptr->status);
}
break;
@@ -159,14 +159,14 @@ INT_PTR __cdecl Service_Mode(WPARAM wParam, LPARAM lParam)
msgbox(NULL, sim111, MODULENAME, MB_OK);
return 0;
}
- if ( lParam!=MODE_NATIVE && ptr->status>STATUS_ENABLED )
+ if (lParam != MODE_NATIVE && ptr->status>STATUS_ENABLED )
Service_Status(wParam,STATUS_ENABLED+1);
case MODE_PGP:
case MODE_GPG:
// нужно много проверок и отключение активного контекста если необходимо
if (ptr) {
- if ( ptr->cntx ) {
+ if (ptr->cntx) {
cpp_delete_context(ptr->cntx);
ptr->cntx = 0;
ptr->keyLoaded = 0;