diff options
author | George Hazan <george.hazan@gmail.com> | 2025-04-10 18:59:36 +0300 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2025-04-10 18:59:36 +0300 |
commit | 86cae9eed59527acdbd64f5a1964d5b82be07c22 (patch) | |
tree | 5e97ac7c4b7309a7a7f261f37bf59aa917e551e7 /protocols/Weather/src/weather_mwin.cpp | |
parent | 7028b158bc798dffcb7b5ca0eaa4bc0ff77ed76a (diff) |
code cleaning
Diffstat (limited to 'protocols/Weather/src/weather_mwin.cpp')
-rw-r--r-- | protocols/Weather/src/weather_mwin.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/Weather/src/weather_mwin.cpp b/protocols/Weather/src/weather_mwin.cpp index 058c6e56ad..cb1e33849b 100644 --- a/protocols/Weather/src/weather_mwin.cpp +++ b/protocols/Weather/src/weather_mwin.cpp @@ -276,9 +276,9 @@ INT_PTR CWeatherProto::Mwin_MenuClicked(WPARAM hContact, LPARAM) return 0; } -int CWeatherProto::BuildContactMenu(WPARAM wparam, LPARAM) +int CWeatherProto::BuildContactMenu(MCONTACT hContact) { - int flags = getDword(wparam, "mwin") ? CMIF_CHECKED : 0; + int flags = getDword(hContact, "mwin") ? CMIF_CHECKED : 0; Menu_ModifyItem(hMwinMenu, nullptr, INVALID_HANDLE_VALUE, flags); return 0; } |