summaryrefslogtreecommitdiff
path: root/plugins/Clist_modern
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/Clist_modern
parenta5d8287df3cb04ddea3888cce55ce08f4d5fe73b (diff)
Windows lists:
- fix for a 64-bit issue that could cause a crash; - code cleaning
Diffstat (limited to 'plugins/Clist_modern')
-rw-r--r--plugins/Clist_modern/src/modern_tbbutton.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Clist_modern/src/modern_tbbutton.cpp b/plugins/Clist_modern/src/modern_tbbutton.cpp
index 4f53fb353e..9e6df49d3b 100644
--- a/plugins/Clist_modern/src/modern_tbbutton.cpp
+++ b/plugins/Clist_modern/src/modern_tbbutton.cpp
@@ -465,7 +465,7 @@ void MakeButtonSkinned(HWND hWnd)
p->nFontID = -1;
p->hThemeButton = xpt_AddThemeHandle(p->hwnd, L"BUTTON");
p->hThemeToolbar = xpt_AddThemeHandle(p->hwnd, L"TOOLBAR");
- WindowList_Add(hButtonWindowList, hWnd, 0);
+ WindowList_Add(hButtonWindowList, hWnd);
}
/////////////////////////////////////////////////////////////////////////////////////////