summaryrefslogtreecommitdiff
path: root/plugins/Clist_nicer/src/clisttray.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2014-12-05 15:06:15 +0000
committerGeorge Hazan <george.hazan@gmail.com>2014-12-05 15:06:15 +0000
commit7c3775ae24f772f37ee69632f11292bd59ebccd2 (patch)
tree2f8fa62167b13207986f564cea10e12f3d0f5939 /plugins/Clist_nicer/src/clisttray.cpp
parentae10177eb1e515eada4aa2b4295aab02d1f7c176 (diff)
useless function removed
git-svn-id: http://svn.miranda-ng.org/main/trunk@11252 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Clist_nicer/src/clisttray.cpp')
-rw-r--r--plugins/Clist_nicer/src/clisttray.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/Clist_nicer/src/clisttray.cpp b/plugins/Clist_nicer/src/clisttray.cpp
index 00a3de8eaa..75fafbc18e 100644
--- a/plugins/Clist_nicer/src/clisttray.cpp
+++ b/plugins/Clist_nicer/src/clisttray.cpp
@@ -84,14 +84,14 @@ int TrayCalcChanged(const char *szChangedProto, int averageMode, int netProtoCou
case SETTING_TRAYICON_SINGLE:
ptrA szProto( db_get_sa(NULL, "CList", "PrimaryStatus"));
- int iIcon = IconFromStatusMode(szProto, szProto ? CallProtoService(szProto, PS_GETSTATUS, 0, 0) : CallService(MS_CLIST_GETSTATUSMODE, 0, 0), 0, &hIcon);
+ iIcon = IconFromStatusMode(szProto, szProto ? CallProtoService(szProto, PS_GETSTATUS, 0, 0) : CallService(MS_CLIST_GETSTATUSMODE, 0, 0), 0, &hIcon);
hIcon = (hIcon) ? CopyIcon(hIcon) : ImageList_GetIcon(hCListImages, iIcon, ILD_NORMAL);
return pcli->pfnTrayIconSetBaseInfo(hIcon, NULL);
}
}
}
else {
- int iIcon = IconFromStatusMode(NULL, averageMode, 0, &hIcon);
+ iIcon = IconFromStatusMode(NULL, averageMode, 0, &hIcon);
hIcon = (hIcon) ? CopyIcon(hIcon) : ImageList_GetIcon(hCListImages, iIcon, ILD_NORMAL);
return pcli->pfnTrayIconSetBaseInfo(hIcon, NULL);
}
@@ -106,7 +106,7 @@ INT_PTR TrayIconProcessMessage(WPARAM wParam, LPARAM lParam)
MSG *msg = (MSG*)wParam;
if (msg->message == TIM_CALLBACK && msg->lParam == WM_MOUSEMOVE ) {
if (cfg::dat.bNoTrayTips) {
- *((LRESULT *)lParam) = 0;
+ *((LRESULT*)lParam) = 0;
return TRUE;
}
}