summaryrefslogtreecommitdiff
path: root/plugins/Alarms/src/options.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Alarms/src/options.cpp')
-rw-r--r--plugins/Alarms/src/options.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/Alarms/src/options.cpp b/plugins/Alarms/src/options.cpp
index 322c2d87e5..1207c1c0dc 100644
--- a/plugins/Alarms/src/options.cpp
+++ b/plugins/Alarms/src/options.cpp
@@ -692,13 +692,13 @@ void AddMenuItem()
{
if (hMainMenuItem) return;
- CLISTMENUITEM mi = { 0 };
- mi.icolibItem = IcoLib_GetIconHandle("alarms_menu_set");
+ TMO_MenuItem mi = { 0 };
+ mi.hIcolibItem = IcoLib_GetIconHandle("alarms_menu_set");
mi.name.a = "Set alarm";
mi.pszService = MODULE "/NewAlarm";
mi.position = 500010000;
if (!ServiceExists(MS_CLIST_FRAMES_ADDFRAME))
- mi.hParentMenu = Menu_CreateRoot(MO_MAIN, LPGENT("Alarms"), mi.position);
+ mi.root = Menu_CreateRoot(MO_MAIN, LPGENT("Alarms"), mi.position);
hMainMenuItem = Menu_AddMainMenuItem(&mi);
}