[ros-diffs] [fireball] 47013: - RosGdiCreateDC: Make sure DC is not tied to any window.

fireball at svn.reactos.org fireball at svn.reactos.org
Sun Apr 25 15:19:25 CEST 2010


Author: fireball
Date: Sun Apr 25 15:19:24 2010
New Revision: 47013

URL: http://svn.reactos.org/svn/reactos?rev=47013&view=rev
Log:
- RosGdiCreateDC: Make sure DC is not tied to any window.

Modified:
    branches/arwinss/reactos/subsystems/win32/win32k/gdi/dc.c

Modified: branches/arwinss/reactos/subsystems/win32/win32k/gdi/dc.c
URL: http://svn.reactos.org/svn/reactos/branches/arwinss/reactos/subsystems/win32/win32k/gdi/dc.c?rev=47013&r1=47012&r2=47013&view=diff
==============================================================================
--- branches/arwinss/reactos/subsystems/win32/win32k/gdi/dc.c [iso-8859-1] (original)
+++ branches/arwinss/reactos/subsystems/win32/win32k/gdi/dc.c [iso-8859-1] Sun Apr 25 15:19:24 2010
@@ -149,6 +149,7 @@
     /* Create an empty combined clipping region */
     pNewDC->CombinedClip = EngCreateClip();
     pNewDC->Clipping = create_empty_region();
+    pNewDC->pWindow = NULL;
 
     /* Set default palette */
     pNewDC->hPalette = hSystemPal;




More information about the Ros-diffs mailing list