diff options
author | George Hazan <george.hazan@gmail.com> | 2012-11-15 21:04:26 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2012-11-15 21:04:26 +0000 |
commit | d949a7ed17fd90bfc1ee5d85c83812b974037531 (patch) | |
tree | c33e397185df5c4c974afa4ad385fa63dc48e637 /plugins/Clist_mw/src/cluiservices.cpp | |
parent | 90b4d09356a49c0f1c9f4ca0dc1cbc27f11fc2ae (diff) |
- fix for the Online/Offline button in clist_mw
- code cleaning
git-svn-id: http://svn.miranda-ng.org/main/trunk@2320 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Clist_mw/src/cluiservices.cpp')
-rw-r--r-- | plugins/Clist_mw/src/cluiservices.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/Clist_mw/src/cluiservices.cpp b/plugins/Clist_mw/src/cluiservices.cpp index dadea72c01..d57ae77741 100644 --- a/plugins/Clist_mw/src/cluiservices.cpp +++ b/plugins/Clist_mw/src/cluiservices.cpp @@ -116,7 +116,7 @@ void CluiProtocolStatusChanged(int parStatus, const char* szProto) if (ind < 0)
continue;
- if (!pcli->pfnGetProtocolVisibility(accs[ind]->szModuleName))
+ if ( !pcli->pfnGetProtocolVisibility(accs[ind]->szModuleName))
continue;
x = 2;
@@ -130,7 +130,7 @@ void CluiProtocolStatusChanged(int parStatus, const char* szProto) if (showOpts & 4) {
int status = CallProtoService(accs[ind]->szModuleName, PS_GETSTATUS, 0, 0);
TCHAR *szStatus = pcli->pfnGetStatusModeDescription(status, 0);
- if (!szStatus)
+ if ( !szStatus)
szStatus = _T("");
GetTextExtentPoint32(hdc, szStatus, (int)_tcslen(szStatus), &textSize);
x += textSize.cx;
@@ -160,7 +160,7 @@ void CluiProtocolStatusChanged(int parStatus, const char* szProto) int ind = pcli->pfnGetAccountIndexByPos(i);
if (ind < 0) continue;
- if (!pcli->pfnGetProtocolVisibility(accs[ind]->szModuleName))
+ if ( !pcli->pfnGetProtocolVisibility(accs[ind]->szModuleName))
continue;
ProtocolData *PD = (ProtocolData*)mir_alloc(sizeof(ProtocolData));
|