diff options
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;
|