[ros-diffs] [jimtabor] 45306: - Wrong commit msg, removed debug prints and fixed RedrawWindow. This fix one part of the leak.

jimtabor at svn.reactos.org jimtabor at svn.reactos.org
Fri Jan 29 00:45:22 CET 2010


Author: jimtabor
Date: Fri Jan 29 00:45:22 2010
New Revision: 45306

URL: http://svn.reactos.org/svn/reactos?rev=45306&view=rev
Log:
- Wrong commit msg, removed debug prints and fixed RedrawWindow. This fix one part of the leak.

Modified:
    trunk/reactos/subsystems/win32/win32k/ntuser/painting.c

Modified: trunk/reactos/subsystems/win32/win32k/ntuser/painting.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/win32k/ntuser/painting.c?rev=45306&r1=45305&r2=45306&view=diff
==============================================================================
--- trunk/reactos/subsystems/win32/win32k/ntuser/painting.c [iso-8859-1] (original)
+++ trunk/reactos/subsystems/win32/win32k/ntuser/painting.c [iso-8859-1] Fri Jan 29 00:45:22 2010
@@ -330,7 +330,7 @@
    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 @@
       else
          MsqIncPaintCountQueue(Window->pti->MessageQueue);
    }
-   DPRINT1("IntInvalidateWindows exit\n");
+   DPRINT("IntInvalidateWindows exit\n");
 }
 
 /*
@@ -527,7 +527,7 @@
    ULONG Flags)
 {
    HRGN hRgn = NULL;
-   DPRINT1("co_UserRedrawWindow start\n");
+   DPRINT("co_UserRedrawWindow start\n");
 
    /*
     * Step 1.
@@ -609,7 +609,7 @@
    {
       REGION_FreeRgnByHandle(hRgn);
    }
-   DPRINT1("co_UserRedrawWindow exit\n");
+   DPRINT("co_UserRedrawWindow exit\n");
 
    return TRUE;
 }
@@ -1088,7 +1088,7 @@
    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 @@
    RETURN( Ret);
 
 CLEANUP:
-   DPRINT1("Leave NtUserRedrawWindow, ret=%i\n",_ret_);
+   DPRINT("Leave NtUserRedrawWindow, ret=%i\n",_ret_);
    UserLeave();
    END_CLEANUP;
 }




More information about the Ros-diffs mailing list