From 1825cf4a1526ac7f8acb771bf1d55a81aec25020 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=A9=20van=20Geldorp?= Date: Sat, 15 May 2004 08:01:56 +0000 Subject: [PATCH] Only split update region into client and non-client parts if there actually is something to split svn path=/trunk/; revision=9392 --- reactos/subsys/win32k/ntuser/painting.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/reactos/subsys/win32k/ntuser/painting.c b/reactos/subsys/win32k/ntuser/painting.c index ef23170da14..b72f6a2cc74 100644 --- a/reactos/subsys/win32k/ntuser/painting.c +++ b/reactos/subsys/win32k/ntuser/painting.c @@ -16,7 +16,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * - * $Id: painting.c,v 1.82 2004/05/10 17:07:18 weiden Exp $ + * $Id: painting.c,v 1.83 2004/05/15 08:01:56 gvg Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS kernel @@ -286,6 +286,7 @@ IntInvalidateWindows(PWINDOW_OBJECT Window, HRGN hRgn, ULONG Flags) * Split the nonclient update region. */ + if (NULL != Window->UpdateRegion) { HRGN hRgnWindow, hRgnNonClient;