Skip to content

Commit 288d77e

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent a44b306 commit 288d77e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/display.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -365,7 +365,8 @@ PyImaging_GrabScreenWin32(PyObject *self, PyObject *args) {
365365
)GetProcAddress(user32, "GetWindowDpiAwarenessContext");
366366
DPI_AWARENESS_CONTEXT dpiAwarenessContext =
367367
GetWindowDpiAwarenessContext_function(wnd);
368-
if (GetWindowDpiAwarenessContext_function != NULL && dpiAwarenessContext != NULL) {
368+
if (GetWindowDpiAwarenessContext_function != NULL &&
369+
dpiAwarenessContext != NULL) {
369370
dpiAwareness =
370371
SetThreadDpiAwarenessContext_function(dpiAwarenessContext);
371372
} else {

0 commit comments

Comments
 (0)