summaryrefslogtreecommitdiff
path: root/plugins/TrafficCounter/src/TrafficCounter.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/TrafficCounter/src/TrafficCounter.c')
-rw-r--r--plugins/TrafficCounter/src/TrafficCounter.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/plugins/TrafficCounter/src/TrafficCounter.c b/plugins/TrafficCounter/src/TrafficCounter.c
index b7fe86b3d6..0a4b7b48a3 100644
--- a/plugins/TrafficCounter/src/TrafficCounter.c
+++ b/plugins/TrafficCounter/src/TrafficCounter.c
@@ -19,6 +19,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#include "commonheaders.h"
#include "m_skin_eng.h"
+#include "m_tipper.h"
/*-------------------------------------------------------------------------------------------------------------------*/
//GLOBAL
@@ -1427,13 +1428,11 @@ LRESULT CALLBACK TrafficCounterWndProc_MW(HWND hwnd, UINT msg, WPARAM wParam, LP
ti.rcItem.bottom = TooltipPosition.y + 10;
ti.cbSize = sizeof( ti );
TooltipText = variables_parsedup(Traffic_TooltipFormat, NULL, NULL);
-#ifdef _UNICODE
- CallService("mToolTip/ShowTipW", (WPARAM)TooltipText, (LPARAM)&ti);
-#else
- CallService("mToolTip/ShowTip", (WPARAM)TooltipText, (LPARAM)&ti);
-#endif
+
+ CallService(MS_TIPPER_SHOWTIPW, (WPARAM)TooltipText, (LPARAM)&ti);
+
TooltipShowing = TRUE;
- free(TooltipText);
+ mir_free(TooltipText);
}
}
}