File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff 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 ) {
You can’t perform that action at this time.
0 commit comments