summaryrefslogtreecommitdiff
path: root/plugins/Popup
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Popup')
-rw-r--r--plugins/Popup/src/main.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/plugins/Popup/src/main.cpp b/plugins/Popup/src/main.cpp
index 88206532ed..287668c2b1 100644
--- a/plugins/Popup/src/main.cpp
+++ b/plugins/Popup/src/main.cpp
@@ -179,8 +179,7 @@ INT_PTR svcShowHistory(WPARAM, LPARAM)
void InitMenuItems(void)
{
- TMO_MenuItem mi = { 0 };
- // support new genmenu style
+ CMenuItem mi;
mi.flags = CMIF_TCHAR;
// Build main menu
@@ -191,7 +190,6 @@ void InitMenuItems(void)
// Add item to main menu
mi.root = (HGENMENU)hMenuRoot;
-
mi.pszService = MENUCOMMAND_SVC;
CreateServiceFunction(mi.pszService, svcEnableDisableMenuCommand);
mi.name.t = PopupOptions.ModuleIsEnabled ? LPGENT("Disable Popups") : LPGENT("Enable Popups");