diff options
author | George Hazan <george.hazan@gmail.com> | 2025-04-07 12:51:57 +0300 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2025-04-07 12:51:57 +0300 |
commit | d1acb4b4fefc08eaf631fdf51b4afefd9007d11e (patch) | |
tree | c4b15f4b1e4bb61db99389a9df9bfb1f015d7338 /protocols/Weather/src | |
parent | 96b6aa5171e1ba63aab8beb6aed48780016bb787 (diff) |
fixes #4942 completely
Diffstat (limited to 'protocols/Weather/src')
-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 57b775c81b..058c6e56ad 100644 --- a/protocols/Weather/src/weather_mwin.cpp +++ b/protocols/Weather/src/weather_mwin.cpp @@ -340,7 +340,7 @@ void CWeatherProto::InitMwin(void) g_plugin.addFont(&fontid); for (auto &hContact : AccContacts()) - if (g_plugin.getDword(hContact, "mwin")) + if (getDword(hContact, "mwin")) AddFrameWindow(hContact); hFontHook = HookEvent(ME_FONT_RELOAD, RedrawFrame); @@ -349,7 +349,7 @@ void CWeatherProto::InitMwin(void) void CWeatherProto::DestroyMwin(void) { for (auto &hContact : AccContacts()) { - uint32_t frameId = g_plugin.getDword(hContact, "mwin"); + uint32_t frameId = getDword(hContact, "mwin"); if (frameId) CallService(MS_CLIST_FRAMES_REMOVEFRAME, frameId, 0); } |