From d949a7ed17fd90bfc1ee5d85c83812b974037531 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Thu, 15 Nov 2012 21:04:26 +0000 Subject: - 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 --- plugins/Clist_mw/src/cluiservices.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'plugins/Clist_mw/src/cluiservices.cpp') 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)); -- cgit v1.2.3