mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-12 02:06:18 +03:00
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
This commit is contained in:
parent
a44b3067b0
commit
288d77efd6
|
@ -365,7 +365,8 @@ PyImaging_GrabScreenWin32(PyObject *self, PyObject *args) {
|
||||||
)GetProcAddress(user32, "GetWindowDpiAwarenessContext");
|
)GetProcAddress(user32, "GetWindowDpiAwarenessContext");
|
||||||
DPI_AWARENESS_CONTEXT dpiAwarenessContext =
|
DPI_AWARENESS_CONTEXT dpiAwarenessContext =
|
||||||
GetWindowDpiAwarenessContext_function(wnd);
|
GetWindowDpiAwarenessContext_function(wnd);
|
||||||
if (GetWindowDpiAwarenessContext_function != NULL && dpiAwarenessContext != NULL) {
|
if (GetWindowDpiAwarenessContext_function != NULL &&
|
||||||
|
dpiAwarenessContext != NULL) {
|
||||||
dpiAwareness =
|
dpiAwareness =
|
||||||
SetThreadDpiAwarenessContext_function(dpiAwarenessContext);
|
SetThreadDpiAwarenessContext_function(dpiAwarenessContext);
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user