summaryrefslogtreecommitdiff
path: root/plugins/Weather
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2015-06-27 15:39:02 +0000
committerGeorge Hazan <george.hazan@gmail.com>2015-06-27 15:39:02 +0000
commite916d442e690519162bc41f4c404abbd12eb0519 (patch)
treea0978c04e725fb1acbd3f1746622ee4ee0104b00 /plugins/Weather
parented6dc419f633cdb5713fb6cf2dd180478114e7d2 (diff)
forgotten root in Weather's menu
git-svn-id: http://svn.miranda-ng.org/main/trunk@14416 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Weather')
-rw-r--r--plugins/Weather/src/weather_svcs.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/Weather/src/weather_svcs.cpp b/plugins/Weather/src/weather_svcs.cpp
index 4ea8b9511d..11d4bfc88c 100644
--- a/plugins/Weather/src/weather_svcs.cpp
+++ b/plugins/Weather/src/weather_svcs.cpp
@@ -358,12 +358,12 @@ void AddMenuItems(void)
}
if ( ServiceExists(MS_CLIST_FRAMES_ADDFRAME)) {
- CreateServiceFunction("Weather/mwin_menu", Mwin_MenuClicked);
+ mi.pszService = "Weather/mwin_menu";
+ CreateServiceFunction(mi.pszService, Mwin_MenuClicked);
mi.position = -0x7FFFFFF0;
mi.icolibItem = NULL;
- mi.flags = 0;
+ mi.hParentMenu = NULL;
mi.name.a = LPGEN("Display in a frame");
- mi.pszService = "Weather/mwin_menu";
hMwinMenu = Menu_AddContactMenuItem(&mi);
}
}