diff options
Diffstat (limited to 'protocols/Weather/src/weather_mwin.cpp')
-rw-r--r-- | protocols/Weather/src/weather_mwin.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/protocols/Weather/src/weather_mwin.cpp b/protocols/Weather/src/weather_mwin.cpp index c837648c09..27c6664a1e 100644 --- a/protocols/Weather/src/weather_mwin.cpp +++ b/protocols/Weather/src/weather_mwin.cpp @@ -68,7 +68,7 @@ static LRESULT CALLBACK wndProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lPara case WM_MOUSEMOVE: { - TRACKMOUSEEVENT tme = { 0 }; + TRACKMOUSEEVENT tme = {}; tme.cbSize = sizeof(TRACKMOUSEEVENT); tme.hwndTrack = hwnd; tme.dwFlags = TME_QUERY; @@ -86,7 +86,7 @@ static LRESULT CALLBACK wndProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lPara case WM_MOUSEHOVER: { POINT pt; - CLCINFOTIP ti = { 0 }; + CLCINFOTIP ti = {}; GetCursorPos(&pt); GetWindowRect(hwnd, &ti.rcItem); @@ -239,7 +239,7 @@ static void addWindow(MCONTACT hContact) 0, 0, 10, 10, g_clistApi.hwndContactList, nullptr, g_plugin.getInst(), (void*)hContact); WindowList_Add(hMwinWindowList, hWnd, hContact); - CLISTFrame Frame = { 0 }; + CLISTFrame Frame = {}; Frame.szName.w = winname; Frame.hIcon = g_plugin.getIcon(IDI_ICON); Frame.cbSize = sizeof(Frame); |