From 9d010dc4b717c4140de6bbc04d04f9e38b502c40 Mon Sep 17 00:00:00 2001 From: Thamatip Chitpong Date: Wed, 20 Dec 2023 12:51:20 +0700 Subject: [PATCH] Apply suggestions from code review Suggested by JoachimHenze. --- win32ss/user/ntuser/winpos.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/win32ss/user/ntuser/winpos.c b/win32ss/user/ntuser/winpos.c index a6ad33cac4dce..ccba1abcf9b9a 100644 --- a/win32ss/user/ntuser/winpos.c +++ b/win32ss/user/ntuser/winpos.c @@ -3611,7 +3611,7 @@ NtUserSetWindowRgn( Window->hrgnNewFrame = HRGN_WINDOW; } //// HACK 2 - Ret = (INT)co_WinPosSetWindowPos(Window, HWND_TOP, 0, 0, 0, 0, bRedraw ? flags : (flags|SWP_NOREDRAW) ); + Ret = (INT)co_WinPosSetWindowPos(Window, HWND_TOP, 0, 0, 0, 0, bRedraw ? flags : (flags | SWP_NOREDRAW)); Exit: TRACE("Leave NtUserSetWindowRgn, ret=%i\n", Ret);