summaryrefslogtreecommitdiff
path: root/src/modules/clist/Docking.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/clist/Docking.cpp')
-rw-r--r--src/modules/clist/Docking.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/clist/Docking.cpp b/src/modules/clist/Docking.cpp
index df9e9508a5..4c32b7335e 100644
--- a/src/modules/clist/Docking.cpp
+++ b/src/modules/clist/Docking.cpp
@@ -131,7 +131,7 @@ static void Docking_SetSize(HWND hwnd, LPRECT rc, bool query, bool move)
static bool Docking_IsWindowVisible(HWND hwnd)
{
- LONG style = GetWindowLong(hwnd, GWL_STYLE);
+ LONG style = GetWindowLongPtr(hwnd, GWL_STYLE);
return style & WS_VISIBLE && !(style & WS_MINIMIZE);
}