diff --git a/reactos/subsys/win32k/ntuser/painting.c b/reactos/subsys/win32k/ntuser/painting.c index acfcf845aa8..0f8d1c9cdbb 100644 --- a/reactos/subsys/win32k/ntuser/painting.c +++ b/reactos/subsys/win32k/ntuser/painting.c @@ -995,7 +995,7 @@ NtUserGetUpdateRect(HWND hWnd, LPRECT UnsafeRect, BOOL bErase) } } - RETURN(Window->UpdateRegion != NULL); + RETURN(!IntGdiIsEmptyRect(&Rect)); CLEANUP: DPRINT("Leave NtUserGetUpdateRect, ret=%i\n",_ret_);