summaryrefslogtreecommitdiff
path: root/plugins/StopSpamPlus/src/opt_proto.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-10-05 15:55:44 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-10-05 15:55:44 +0000
commitfe8cad9c083c13e3556ae0babaa1eff049ee4551 (patch)
treebf5e4eba10df242dfb6f918e5ebf6ebc205b5bad /plugins/StopSpamPlus/src/opt_proto.cpp
parentf1e81762805fb9a4d4cec5701dc31488e9c0fd1e (diff)
code cleaning
git-svn-id: http://svn.miranda-ng.org/main/trunk@6348 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/StopSpamPlus/src/opt_proto.cpp')
-rw-r--r--plugins/StopSpamPlus/src/opt_proto.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/StopSpamPlus/src/opt_proto.cpp b/plugins/StopSpamPlus/src/opt_proto.cpp
index bb56aca7ba..86ba136999 100644
--- a/plugins/StopSpamPlus/src/opt_proto.cpp
+++ b/plugins/StopSpamPlus/src/opt_proto.cpp
@@ -24,11 +24,11 @@ int FillTree(HWND hwnd)
TreeView_DeleteAllItems(hwnd);
- if(CallService(MS_PROTO_ENUMACCOUNTS, (LPARAM)&n, (WPARAM)&pa))
+ if (CallService(MS_PROTO_ENUMACCOUNTS, (LPARAM)&n, (WPARAM)&pa))
return FALSE;
for ( i = 0; i < n; i++ ) {
- if(IsAccountEnabled( pa[i] )) {
+ if (IsAccountEnabled( pa[i] )) {
PD = ( ProtocolData* )mir_alloc( sizeof( ProtocolData ));
PD->RealName = pa[i]->szModuleName;
PD->enabled = IsProtoIM( pa[i]);
@@ -88,7 +88,7 @@ INT_PTR CALLBACK ProtoDlgProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam)
if (tvi.lParam!=0) {
ProtocolData* ppd = ( ProtocolData* )tvi.lParam;
- if(ppd->enabled && ppd->show)
+ if (ppd->enabled && ppd->show)
out << ppd->RealName << " ";
}