From e916d442e690519162bc41f4c404abbd12eb0519 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sat, 27 Jun 2015 15:39:02 +0000 Subject: forgotten root in Weather's menu git-svn-id: http://svn.miranda-ng.org/main/trunk@14416 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Weather/src/weather_svcs.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'plugins/Weather/src') 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); } } -- cgit v1.2.3