summaryrefslogtreecommitdiff
path: root/plugins/Clist/clcpaint.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Clist/clcpaint.c')
-rw-r--r--plugins/Clist/clcpaint.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Clist/clcpaint.c b/plugins/Clist/clcpaint.c
index 970c9a46f3..1ddf6bebc1 100644
--- a/plugins/Clist/clcpaint.c
+++ b/plugins/Clist/clcpaint.c
@@ -152,7 +152,7 @@ void PaintClc(HWND hwnd, struct ClcData *dat, HDC hdc, RECT * rcPaint)
struct ClcGroup *group;
HBITMAP hBmpOsb, hOldBitmap;
HFONT hOldFont;
- DWORD style = GetWindowLong(hwnd, GWL_STYLE);
+ DWORD style = GetWindowLongPtr(hwnd, GWL_STYLE);
int status = GetGeneralisedStatus();
int grey = 0, groupCountsFontTopShift;
HBRUSH hBrushAlternateGrey = NULL;