diff options
author | George Hazan <george.hazan@gmail.com> | 2012-06-20 06:52:26 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2012-06-20 06:52:26 +0000 |
commit | b766ebf1a1091dcc2859a92da300c44e0e432a84 (patch) | |
tree | 833eb906adc49c21c799b5bd222e714338dfebd8 /protocols/Weather/weather_popup.cpp | |
parent | 4c7aed90685d65bc150a16e901542471041bd148 (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.cpp | 4 |
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())))
|