summaryrefslogtreecommitdiff
path: root/plugins/Clist_modern/modern_awaymsg.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2012-07-07 10:31:56 +0000
committerGeorge Hazan <george.hazan@gmail.com>2012-07-07 10:31:56 +0000
commit767d070330f3fb669495b2e3481f0c8abfcd1300 (patch)
tree7f602995f26ad699be203d535a469a895268e49c /plugins/Clist_modern/modern_awaymsg.cpp
parent5ad48842d4520b3f34283c6c48be98ddbe9f23d5 (diff)
- one more crash fix;
- cache functionality fixed; - strange type 'boolean' removed - all header files included into project git-svn-id: http://svn.miranda-ng.org/main/trunk@811 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Clist_modern/modern_awaymsg.cpp')
-rw-r--r--plugins/Clist_modern/modern_awaymsg.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/Clist_modern/modern_awaymsg.cpp b/plugins/Clist_modern/modern_awaymsg.cpp
index 387662caac..52d59881d3 100644
--- a/plugins/Clist_modern/modern_awaymsg.cpp
+++ b/plugins/Clist_modern/modern_awaymsg.cpp
@@ -75,7 +75,7 @@ static int amAddHandleToChain(HANDLE hContact)
}
} while(wChain = (AMCHAINITEM *)wChain->Next);
}
- if (!amFirstChainItem)
+ if ( !amFirstChainItem)
{
amFirstChainItem = (AMCHAINITEM*)malloc(sizeof(AMCHAINITEM));
workChain = amFirstChainItem;
@@ -144,7 +144,7 @@ static int amThreadProc(HWND hwnd)
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);
- if (!ACK)
+ if ( !ACK)
{
ACKDATA ack;
ack.hContact = hContact;
@@ -205,7 +205,7 @@ BOOL amWakeThread()
void amRequestAwayMsg(HANDLE hContact)
{
char *szProto;
- if (!g_CluiData.bInternalAwayMsgDiscovery || !hContact)
+ if ( !g_CluiData.bInternalAwayMsgDiscovery || !hContact)
return;
//Do not re-ask for chat rooms
szProto = (char *) CallService(MS_PROTO_GETCONTACTBASEPROTO, (WPARAM) hContact, 0);