summaryrefslogtreecommitdiff
path: root/plugins/SendScreenshotPlus/src/Utils.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/SendScreenshotPlus/src/Utils.cpp')
-rw-r--r--plugins/SendScreenshotPlus/src/Utils.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/SendScreenshotPlus/src/Utils.cpp b/plugins/SendScreenshotPlus/src/Utils.cpp
index a8c6ce22d0..71e35bfa17 100644
--- a/plugins/SendScreenshotPlus/src/Utils.cpp
+++ b/plugins/SendScreenshotPlus/src/Utils.cpp
@@ -174,7 +174,7 @@ FIBITMAP* CaptureScreen (HDC hDC,SIZE size,HWND hCapture){
SelectBitmap(hMaskDC,hMask);
HRGN hRgn=CreateRectRgn(0,0,0,0);
if(GetWindowRgn(hCapture,hRgn)==ERROR){
- if((GetWindowLong(hCapture,GWL_EXSTYLE)&WS_EX_LAYERED)){
+ if((GetWindowLongPtr(hCapture,GWL_EXSTYLE)&WS_EX_LAYERED)){
BYTE bAlpha=0;
COLORREF crKey=0;//0x00bbggrr
DWORD dwFlags=0;