From b766ebf1a1091dcc2859a92da300c44e0e432a84 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Wed, 20 Jun 2012 06:52:26 +0000 Subject: - avatars fix for Weather - code cleaning git-svn-id: http://svn.miranda-ng.org/main/trunk@495 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/Weather/weather_popup.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'protocols/Weather/weather_popup.cpp') 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()))) -- cgit v1.2.3