summaryrefslogtreecommitdiff
path: root/plugins/StatusPlugins/KeepStatus
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2012-06-02 20:55:18 +0000
committerGeorge Hazan <george.hazan@gmail.com>2012-06-02 20:55:18 +0000
commit78c0815c4118fe24ab78cce2dc48a6232dcd824a (patch)
tree8512c50df70b8dd80c919e88ade3419207c95956 /plugins/StatusPlugins/KeepStatus
parentce816d83a8c75808e0eb06832592bffefe4a8dc4 (diff)
- code cleaning
git-svn-id: http://svn.miranda-ng.org/main/trunk@270 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/StatusPlugins/KeepStatus')
-rw-r--r--plugins/StatusPlugins/KeepStatus/action_keepstatus.cpp4
-rw-r--r--plugins/StatusPlugins/KeepStatus/keepstatus.cpp4
2 files changed, 4 insertions, 4 deletions
diff --git a/plugins/StatusPlugins/KeepStatus/action_keepstatus.cpp b/plugins/StatusPlugins/KeepStatus/action_keepstatus.cpp
index a321ecfcc9..bf71c81543 100644
--- a/plugins/StatusPlugins/KeepStatus/action_keepstatus.cpp
+++ b/plugins/StatusPlugins/KeepStatus/action_keepstatus.cpp
@@ -44,7 +44,7 @@ static void BuildProtoList(HWND hList, BOOL bFromTrigger, char* szPrefix, DWORD
char dbSetting[128];
- for( int i=0; i < count; i++ ) {
+ for ( int i=0; i < count; i++ ) {
if ( !IsSuitableProto( protos[i] ))
continue;
@@ -140,7 +140,7 @@ static int TriggerChecking(DWORD actionID, REPORTINFO *ri)
PROTOACCOUNT** protos;
ProtoEnumAccounts( &count, &protos );
- for( int i=0; i <count; i++ ) {
+ for ( int i=0; i <count; i++ ) {
if ( !IsSuitableProto( protos[i] ))
continue;
diff --git a/plugins/StatusPlugins/KeepStatus/keepstatus.cpp b/plugins/StatusPlugins/KeepStatus/keepstatus.cpp
index 9aaaf39195..5ef0b59b09 100644
--- a/plugins/StatusPlugins/KeepStatus/keepstatus.cpp
+++ b/plugins/StatusPlugins/KeepStatus/keepstatus.cpp
@@ -771,7 +771,7 @@ static VOID CALLBACK AfterCheckTimer(HWND hwnd,UINT message,UINT_PTR idEvent,DWO
int setStatus = FALSE;
- for( int i=0; i <connectionSettings.getCount(); i++ ) {
+ for ( int i=0; i <connectionSettings.getCount(); i++ ) {
TConnectionSettings& cs = connectionSettings[i];
int realStatus = CallProtoService(cs.szName, PS_GETSTATUS, 0, 0);
int shouldBeStatus = GetStatus(cs);
@@ -802,7 +802,7 @@ static void CheckContinueslyFunction(void *arg)
// do a ping, even if reconnecting
BOOL doPing = FALSE;
- for( int i=0; i < connectionSettings.getCount(); i++ ) {
+ for ( int i=0; i < connectionSettings.getCount(); i++ ) {
TConnectionSettings& cs = connectionSettings[i];
int shouldBeStatus = GetStatus(cs);
if (shouldBeStatus == ID_STATUS_LAST)