summaryrefslogtreecommitdiff
path: root/plugins/Clist_nicer/src/clisttray.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Clist_nicer/src/clisttray.cpp')
-rw-r--r--plugins/Clist_nicer/src/clisttray.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/plugins/Clist_nicer/src/clisttray.cpp b/plugins/Clist_nicer/src/clisttray.cpp
index 3f5c45cb79..00a3de8eaa 100644
--- a/plugins/Clist_nicer/src/clisttray.cpp
+++ b/plugins/Clist_nicer/src/clisttray.cpp
@@ -101,11 +101,9 @@ int TrayCalcChanged(const char *szChangedProto, int averageMode, int netProtoCou
/////////////////////////////////////////////////////////////////////////////////////////
-extern INT_PTR (*saveTrayIconProcessMessage)(WPARAM wParam, LPARAM lParam);
-
INT_PTR TrayIconProcessMessage(WPARAM wParam, LPARAM lParam)
{
- MSG *msg = (MSG *)wParam;
+ MSG *msg = (MSG*)wParam;
if (msg->message == TIM_CALLBACK && msg->lParam == WM_MOUSEMOVE ) {
if (cfg::dat.bNoTrayTips) {
*((LRESULT *)lParam) = 0;
@@ -113,5 +111,5 @@ INT_PTR TrayIconProcessMessage(WPARAM wParam, LPARAM lParam)
}
}
- return saveTrayIconProcessMessage(wParam, lParam);
+ return coreCli.pfnTrayIconProcessMessage(wParam, lParam);
}