summaryrefslogtreecommitdiff
path: root/plugins/Weather
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-04-04 14:15:55 +0300
committerGeorge Hazan <ghazan@miranda.im>2018-04-04 14:15:55 +0300
commit8937c49faab219b51b9863847406a21945d3a9cb (patch)
tree95390d236af9d832f3c7c50a2fc2de357a353996 /plugins/Weather
parenta5d8287df3cb04ddea3888cce55ce08f4d5fe73b (diff)
Windows lists:
- fix for a 64-bit issue that could cause a crash; - code cleaning
Diffstat (limited to 'plugins/Weather')
-rw-r--r--plugins/Weather/src/weather_ini.cpp2
1 files changed, 1 insertions, 1 deletions
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;