diff options
author | George Hazan <george.hazan@gmail.com> | 2012-05-30 18:33:35 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2012-05-30 18:33:35 +0000 |
commit | 4540036e07fce39b653bbb2777df48f451368e67 (patch) | |
tree | ae95f059280255bc10cd7da2d57301847d87f4b9 /protocols/Weather/weather_svcs.cpp | |
parent | f3db9f96a7ac4c566dbcde6c6438243012e92616 (diff) |
fixes for popups
git-svn-id: http://svn.miranda-ng.org/main/trunk@241 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Weather/weather_svcs.cpp')
-rw-r--r-- | protocols/Weather/weather_svcs.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/protocols/Weather/weather_svcs.cpp b/protocols/Weather/weather_svcs.cpp index 9e95f307f6..23cb105d3b 100644 --- a/protocols/Weather/weather_svcs.cpp +++ b/protocols/Weather/weather_svcs.cpp @@ -425,8 +425,7 @@ void AddMenuItems(void) CallService(MS_CLIST_ADDMAINMENUITEM,0,(LPARAM)&mi);
// only run if popup service exists
- if (ServiceExists(MS_POPUP_ADDPOPUP))
- {
+ if (ServiceExists(MS_POPUP_ADDPOPUP)) {
hService[25] = CreateServiceFunction(WEATHERPROTONAME "/PopupMenu", MenuitemNotifyCmd);
mi.pszName = "Weather Notification";
mi.icolibItem = GetIconHandle("popup");
@@ -437,8 +436,7 @@ void AddMenuItems(void) UpdatePopupMenu(opt.UsePopup);
}
- if (ServiceExists(MS_CLIST_FRAMES_ADDFRAME))
- {
+ if (ServiceExists(MS_CLIST_FRAMES_ADDFRAME)) {
hService[26] = CreateServiceFunction("Weather/mwin_menu", Mwin_MenuClicked);
mi.position = -0x7FFFFFF0;
mi.hIcon = NULL;
|