diff options
Diffstat (limited to 'plugins/SRMM')
-rw-r--r-- | plugins/SRMM/richutil.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/SRMM/richutil.c b/plugins/SRMM/richutil.c index 87d827db9b..a8253be098 100644 --- a/plugins/SRMM/richutil.c +++ b/plugins/SRMM/richutil.c @@ -165,7 +165,7 @@ static LRESULT CALLBACK RichUtil_Proc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM RECT rcClient;
int nState;
HDC hdc = GetWindowDC(ru->hwnd);
- LONG style = GetWindowLong(hwnd, GWL_STYLE);
+ LONG style = GetWindowLongPtr(hwnd, GWL_STYLE);
GetWindowRect(hwnd, &rcBorder);
rcBorder.right -= rcBorder.left; rcBorder.bottom -= rcBorder.top;
|