From fe0ede95649f375f4f7aa422079dbdd7f7fbafbc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20Sch=C3=BCmann?= Date: Thu, 1 Jan 2015 01:40:23 +0000 Subject: SendSS: ! really fixed fix in r11622 and #699 comment 12 git-svn-id: http://svn.miranda-ng.org/main/trunk@11710 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/SendScreenshotPlus/src/Utils.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/SendScreenshotPlus/src/Utils.cpp') diff --git a/plugins/SendScreenshotPlus/src/Utils.cpp b/plugins/SendScreenshotPlus/src/Utils.cpp index 70793fda43..e3ec5a8df7 100644 --- a/plugins/SendScreenshotPlus/src/Utils.cpp +++ b/plugins/SendScreenshotPlus/src/Utils.cpp @@ -145,8 +145,8 @@ FIBITMAP* CaptureMonitor(const TCHAR* szDevice,const RECT* cropRect/*=NULL*/){ hScrDC = CreateDC(_T("DISPLAY"),NULL,NULL,NULL); rect.left=GetSystemMetrics(SM_XVIRTUALSCREEN); rect.top=GetSystemMetrics(SM_YVIRTUALSCREEN); - rect.right=GetSystemMetrics(SM_CXVIRTUALSCREEN); - rect.bottom=GetSystemMetrics(SM_CYVIRTUALSCREEN); + rect.right=GetSystemMetrics(SM_XVIRTUALSCREEN)+GetSystemMetrics(SM_CXVIRTUALSCREEN); + rect.bottom=GetSystemMetrics(SM_YVIRTUALSCREEN)+GetSystemMetrics(SM_CYVIRTUALSCREEN); }else{ hScrDC = CreateDC(szDevice,NULL,NULL,NULL); rect.left=rect.top=0; -- cgit v1.2.3