From 69ae9c4e576238d9a3c95659dae95ef7cb87b3c3 Mon Sep 17 00:00:00 2001 From: James Tabor Date: Thu, 28 Jan 2010 23:45:22 +0000 Subject: [PATCH] - Wrong commit msg, removed debug prints and fixed RedrawWindow. This fix one part of the leak. svn path=/trunk/; revision=45306 --- reactos/subsystems/win32/win32k/ntuser/painting.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/reactos/subsystems/win32/win32k/ntuser/painting.c b/reactos/subsystems/win32/win32k/ntuser/painting.c index 68d2932c596..2711072167e 100644 --- a/reactos/subsystems/win32/win32k/ntuser/painting.c +++ b/reactos/subsystems/win32/win32k/ntuser/painting.c @@ -330,7 +330,7 @@ IntInvalidateWindows(PWINDOW_OBJECT Window, HRGN hRgn, ULONG Flags) BOOL HasPaintMessage, HasNCPaintMessage; Wnd = Window->Wnd; - DPRINT1("IntInvalidateWindows start\n"); + DPRINT("IntInvalidateWindows start\n"); /* * If the nonclient is not to be redrawn, clip the region to the client * rect @@ -482,7 +482,7 @@ IntInvalidateWindows(PWINDOW_OBJECT Window, HRGN hRgn, ULONG Flags) else MsqIncPaintCountQueue(Window->pti->MessageQueue); } - DPRINT1("IntInvalidateWindows exit\n"); + DPRINT("IntInvalidateWindows exit\n"); } /* @@ -527,7 +527,7 @@ co_UserRedrawWindow( ULONG Flags) { HRGN hRgn = NULL; - DPRINT1("co_UserRedrawWindow start\n"); + DPRINT("co_UserRedrawWindow start\n"); /* * Step 1. @@ -609,7 +609,7 @@ co_UserRedrawWindow( { REGION_FreeRgnByHandle(hRgn); } - DPRINT1("co_UserRedrawWindow exit\n"); + DPRINT("co_UserRedrawWindow exit\n"); return TRUE; } @@ -1088,7 +1088,7 @@ NtUserRedrawWindow( NTSTATUS Status = STATUS_SUCCESS; DECLARE_RETURN(BOOL); - DPRINT1("Enter NtUserRedrawWindow\n"); + DPRINT("Enter NtUserRedrawWindow\n"); UserEnterExclusive(); if (!(Wnd = UserGetWindowObject(hWnd ? hWnd : IntGetDesktopWindow()))) @@ -1136,7 +1136,7 @@ NtUserRedrawWindow( RETURN( Ret); CLEANUP: - DPRINT1("Leave NtUserRedrawWindow, ret=%i\n",_ret_); + DPRINT("Leave NtUserRedrawWindow, ret=%i\n",_ret_); UserLeave(); END_CLEANUP; }