summaryrefslogtreecommitdiff
path: root/plugins/SendScreenshotPlus
diff options
context:
space:
mode:
authorRené Schümann <white06tiger@gmail.com>2015-01-01 01:40:23 +0000
committerRené Schümann <white06tiger@gmail.com>2015-01-01 01:40:23 +0000
commitfe0ede95649f375f4f7aa422079dbdd7f7fbafbc (patch)
treec2e5645cacd0a1fb2b724b7ad08e64e4e365194a /plugins/SendScreenshotPlus
parentf61f37963eefa84a39cd3ed6cbd84472e7bf481f (diff)
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
Diffstat (limited to 'plugins/SendScreenshotPlus')
-rw-r--r--plugins/SendScreenshotPlus/src/Utils.cpp4
1 files changed, 2 insertions, 2 deletions
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;