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/win3…
==============================================================================
--- 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;