mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-26 09:14:27 +03:00
Reverted unrelated change
This commit is contained in:
parent
fa6b80fddf
commit
19426417ff
|
@ -345,8 +345,8 @@ PyImaging_GrabScreenWin32(PyObject* self, PyObject* args)
|
|||
width = GetSystemMetrics(SM_CXVIRTUALSCREEN);
|
||||
height = GetSystemMetrics(SM_CYVIRTUALSCREEN);
|
||||
} else {
|
||||
width = GetSystemMetrics(SM_CXSCREEN);
|
||||
height = GetSystemMetrics(SM_CYSCREEN);
|
||||
width = GetDeviceCaps(screen, HORZRES);
|
||||
height = GetDeviceCaps(screen, VERTRES);
|
||||
}
|
||||
|
||||
bitmap = CreateCompatibleBitmap(screen, width, height);
|
||||
|
|
Loading…
Reference in New Issue
Block a user