summaryrefslogtreecommitdiff
path: root/protocols/Weather/weather_popup.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2012-06-20 06:52:26 +0000
committerGeorge Hazan <george.hazan@gmail.com>2012-06-20 06:52:26 +0000
commitb766ebf1a1091dcc2859a92da300c44e0e432a84 (patch)
tree833eb906adc49c21c799b5bd222e714338dfebd8 /protocols/Weather/weather_popup.cpp
parent4c7aed90685d65bc150a16e901542471041bd148 (diff)
- avatars fix for Weather
- code cleaning git-svn-id: http://svn.miranda-ng.org/main/trunk@495 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Weather/weather_popup.cpp')
-rw-r--r--protocols/Weather/weather_popup.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/Weather/weather_popup.cpp b/protocols/Weather/weather_popup.cpp
index 5a912714c9..1b440364d0 100644
--- a/protocols/Weather/weather_popup.cpp
+++ b/protocols/Weather/weather_popup.cpp
@@ -180,7 +180,7 @@ LRESULT CALLBACK PopupWndProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam
break;
case IDM_M7: // display contact menu
- hMenu=(HMENU)CallService(MS_CLIST_MENUBUILDCONTACT,wParam,0);
+ hMenu = (HMENU)CallService(MS_CLIST_MENUBUILDCONTACT,wParam,0);
GetCursorPos(&pt);
hPopupContact = (HANDLE)wParam;
TrackPopupMenu(hMenu,TPM_LEFTALIGN,pt.x,pt.y,0,hWnd,NULL);
@@ -307,7 +307,7 @@ INT_PTR CALLBACK DlgPopUpOpts(HWND hdlg, UINT msg, WPARAM wParam, LPARAM lParam)
case WM_COMMAND:
// enable the "apply" button
- if (HIWORD(wParam)==BN_CLICKED && GetFocus()==(HWND)lParam)
+ if (HIWORD(wParam) == BN_CLICKED && GetFocus() == (HWND)lParam)
SendMessage(GetParent(hdlg),PSM_CHANGED,0,0);
if (!((LOWORD(wParam) == IDC_UPDATE || LOWORD(wParam) == IDC_DEGREE) &&
(HIWORD(wParam) != EN_CHANGE || (HWND)lParam != GetFocus())))