summaryrefslogtreecommitdiff
path: root/plugins/TrafficCounter
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/TrafficCounter')
-rw-r--r--plugins/TrafficCounter/src/TrafficCounter.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/TrafficCounter/src/TrafficCounter.cpp b/plugins/TrafficCounter/src/TrafficCounter.cpp
index 9f54eb7782..8e04d461c6 100644
--- a/plugins/TrafficCounter/src/TrafficCounter.cpp
+++ b/plugins/TrafficCounter/src/TrafficCounter.cpp
@@ -1047,9 +1047,8 @@ INT_PTR MenuCommand_TrafficShowHide(WPARAM wParam, LPARAM lParam)
void Traffic_AddMainMenuItem(void)
{
- TMO_MenuItem mi = { 0 };
+ CMenuItem mi;
mi.position = -0x7FFFFFFF;
- mi.flags = 0;
mi.hIcolibItem = NULL;
mi.name.a = LPGEN("Toggle traffic counter");
mi.pszService = "TrafficCounter/ShowHide";