summaryrefslogtreecommitdiff
path: root/plugins/Clist_modern/src/modern_awaymsg.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-01-27 11:57:40 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-01-27 11:57:40 +0000
commit18f6faf592c21341463e835599b61fa811d3e1a0 (patch)
tree33074d2a8466bdc6b27a4a93ae97e871da57eef7 /plugins/Clist_modern/src/modern_awaymsg.cpp
parent3e2fa0fa0e7f74b99e3f76d966928e30f1b39393 (diff)
code cleaning
git-svn-id: http://svn.miranda-ng.org/main/trunk@3301 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Clist_modern/src/modern_awaymsg.cpp')
-rw-r--r--plugins/Clist_modern/src/modern_awaymsg.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/Clist_modern/src/modern_awaymsg.cpp b/plugins/Clist_modern/src/modern_awaymsg.cpp
index ddf27062dd..34dc4ad51c 100644
--- a/plugins/Clist_modern/src/modern_awaymsg.cpp
+++ b/plugins/Clist_modern/src/modern_awaymsg.cpp
@@ -132,7 +132,7 @@ static int amThreadProc(HWND hwnd)
time = GetTickCount();
if ((time-amRequestTick) < AMASKPERIOD)
{
- SleepEx(AMASKPERIOD-(time-amRequestTick)+10,TRUE);
+ SleepEx(AMASKPERIOD-(time-amRequestTick)+10, TRUE);
if (MirandaExiting())
{
g_dwAwayMsgThreadID = 0;
@@ -141,9 +141,9 @@ static int amThreadProc(HWND hwnd)
}
CListSettings_FreeCacheItemData(&dnce);
dnce.hContact = (HANDLE)hContact;
- Sync(CLUI_SyncGetPDNCE, (WPARAM) 0,(LPARAM)&dnce);
+ Sync(CLUI_SyncGetPDNCE, (WPARAM) 0, (LPARAM)&dnce);
if (dnce.ApparentMode != ID_STATUS_OFFLINE) //don't ask if contact is always invisible (should be done with protocol)
- ACK = (HANDLE)CallContactService(hContact,PSS_GETAWAYMSG,0,0);
+ ACK = (HANDLE)CallContactService(hContact,PSS_GETAWAYMSG, 0, 0);
if ( !ACK)
{
ACKDATA ack;
@@ -165,7 +165,7 @@ static int amThreadProc(HWND hwnd)
do
{
i++;
- SleepEx(50,TRUE);
+ SleepEx(50, TRUE);
} while (i < AMASKPERIOD/50 && !MirandaExiting());
}
else break;