Skip to content

Commit acba5c4

Browse files
committed
Lint fix
1 parent a6c941a commit acba5c4

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/display.c

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -363,11 +363,12 @@ PyImaging_GrabScreenWin32(PyObject *self, PyObject *args) {
363363
GetWindowDpiAwarenessContext_function = (Func_GetWindowDpiAwarenessContext
364364
)GetProcAddress(user32, "GetWindowDpiAwarenessContext");
365365
if (screens == -1 && GetWindowDpiAwarenessContext_function != NULL) {
366-
dpiAwareness =
367-
GetWindowDpiAwarenessContext_function(wnd);
366+
dpiAwareness = GetWindowDpiAwarenessContext_function(wnd);
368367
}
369368
// DPI_AWARENESS_CONTEXT_PER_MONITOR_AWARE = ((DPI_CONTEXT_HANDLE)-3)
370-
dpiAwareness = SetThreadDpiAwarenessContext_function(dpiAwareness == NULL ? (HANDLE)-3 : dpiAwareness);
369+
dpiAwareness = SetThreadDpiAwarenessContext_function(
370+
dpiAwareness == NULL ? (HANDLE)-3 : dpiAwareness
371+
);
371372
}
372373

373374
if (screens == 1) {

0 commit comments

Comments
 (0)