From 8937c49faab219b51b9863847406a21945d3a9cb Mon Sep 17 00:00:00 2001 From: George Hazan Date: Wed, 4 Apr 2018 14:15:55 +0300 Subject: Windows lists: - fix for a 64-bit issue that could cause a crash; - code cleaning --- plugins/Weather/src/weather_ini.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/Weather/src') diff --git a/plugins/Weather/src/weather_ini.cpp b/plugins/Weather/src/weather_ini.cpp index f60d68359b..303fa5366c 100644 --- a/plugins/Weather/src/weather_ini.cpp +++ b/plugins/Weather/src/weather_ini.cpp @@ -165,7 +165,7 @@ static INT_PTR CALLBACK DlgProcSetup(HWND hwndDlg, UINT msg, WPARAM wParam, LPAR // set icons Window_SetIcon_IcoLib(hwndDlg, GetIconHandle("main")); - WindowList_Add(hWindowList, hwndDlg, NULL); + WindowList_Add(hWindowList, hwndDlg); ShowWindow(hwndDlg, SW_SHOW); break; -- cgit v1.2.3