diff options
author | George Hazan <george.hazan@gmail.com> | 2014-01-23 20:05:16 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2014-01-23 20:05:16 +0000 |
commit | 77ece3939612fb0133d20815883e4ed50a10230e (patch) | |
tree | 39ebd782bf53759e42c97b616559e88932d8137d /plugins/Clist_modern/src/modern_clisttray.cpp | |
parent | bddc04b139e8dfb3ecfb37af1fbf32965b15c577 (diff) |
fixes bug #188 completely
git-svn-id: http://svn.miranda-ng.org/main/trunk@7842 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Clist_modern/src/modern_clisttray.cpp')
-rw-r--r-- | plugins/Clist_modern/src/modern_clisttray.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/plugins/Clist_modern/src/modern_clisttray.cpp b/plugins/Clist_modern/src/modern_clisttray.cpp index c772af7186..33be64eb1e 100644 --- a/plugins/Clist_modern/src/modern_clisttray.cpp +++ b/plugins/Clist_modern/src/modern_clisttray.cpp @@ -101,7 +101,7 @@ INT_PTR CListTray_GetGlobalStatus(WPARAM wparam,LPARAM lparam) int connectingCount = 0;
for (i=0; i < pcli->hClcProtoCount; i++)
{
- if ( !pcli->pfnGetProtocolVisibility(pcli->clcProto[i].szProto)) continue;
+ if (!pcli->pfnGetProtocolVisibility(pcli->clcProto[i].szProto)) continue;
if (pcli->clcProto[i].dwStatus >= ID_STATUS_CONNECTING &&
pcli->clcProto[i].dwStatus < ID_STATUS_CONNECTING+MAX_CONNECT_RETRIES)
{
@@ -222,10 +222,10 @@ int cliTrayCalcChanged(const char *szChangedProto, int averageMode, int netProto break;
case SETTING_TRAYICON_MULTI:
- if ( !pcli->trayIcon)
+ if (!pcli->trayIcon)
pcli->pfnTrayIconRemove(NULL,NULL);
else if ( db_get_b(NULL,"CList","AlwaysMulti",SETTING_ALWAYSMULTI_DEFAULT )) {
- if ( !pcli->pfnGetProtocolVisibility(szChangedProto))
+ if (!pcli->pfnGetProtocolVisibility(szChangedProto))
return -1;
status = CallProtoService(szChangedProto,PS_GETSTATUS, 0, 0);
@@ -425,7 +425,7 @@ static INT_PTR AddTrayMenuItem(WPARAM wParam,LPARAM lParam) CLISTMENUITEM *mi = (CLISTMENUITEM*)lParam;
TMO_MenuItem tmi;
- if ( !pcli->pfnConvertMenu(mi, &tmi))
+ if (!pcli->pfnConvertMenu(mi, &tmi))
return NULL;
lpTrayMenuExecParam mmep = (lpTrayMenuExecParam)mir_alloc(sizeof(TrayMenuExecParam));
@@ -478,7 +478,7 @@ INT_PTR TrayMenuExecService(WPARAM wParam,LPARAM lParam) {
if (wParam != 0) {
lpTrayMenuExecParam mmep = (lpTrayMenuExecParam)wParam;
- if ( !mir_strcmp(mmep->szServiceName,"Help/AboutCommand")) {
+ if (!mir_strcmp(mmep->szServiceName,"Help/AboutCommand")) {
//bug in help.c,it used wparam as parent window handle without reason.
mmep->Param1 = 0;
}
|