We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a44b306 commit 288d77eCopy full SHA for 288d77e
src/display.c
@@ -365,7 +365,8 @@ PyImaging_GrabScreenWin32(PyObject *self, PyObject *args) {
365
)GetProcAddress(user32, "GetWindowDpiAwarenessContext");
366
DPI_AWARENESS_CONTEXT dpiAwarenessContext =
367
GetWindowDpiAwarenessContext_function(wnd);
368
- if (GetWindowDpiAwarenessContext_function != NULL && dpiAwarenessContext != NULL) {
+ if (GetWindowDpiAwarenessContext_function != NULL &&
369
+ dpiAwarenessContext != NULL) {
370
dpiAwareness =
371
SetThreadDpiAwarenessContext_function(dpiAwarenessContext);
372
} else {
0 commit comments