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