[ros-diffs] [gschneider] 44672: [win32k] Initialize Information contexts too, fixes eight more mapping tests

gschneider at svn.reactos.org gschneider at svn.reactos.org
Sun Dec 20 18:18:36 CET 2009


Author: gschneider
Date: Sun Dec 20 18:18:36 2009
New Revision: 44672

URL: http://svn.reactos.org/svn/reactos?rev=44672&view=rev
Log:
[win32k] Initialize Information contexts too, fixes eight more mapping tests

Modified:
    trunk/reactos/subsystems/win32/win32k/objects/dclife.c

Modified: trunk/reactos/subsystems/win32/win32k/objects/dclife.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/win32k/objects/dclife.c?rev=44672&r1=44671&r2=44672&view=diff
==============================================================================
--- trunk/reactos/subsystems/win32/win32k/objects/dclife.c [iso-8859-1] (original)
+++ trunk/reactos/subsystems/win32/win32k/objects/dclife.c [iso-8859-1] Sun Dec 20 18:18:36 2009
@@ -331,7 +331,6 @@
         DC_UnlockDc(pdc);
 
         /*  Initialize the DC state  */
-        DC_InitDC(hdc);
         IntGdiSetTextColor(hdc, RGB(0, 0, 0));
         IntGdiSetBkColor(hdc, RGB(255, 255, 255));
     }
@@ -350,6 +349,7 @@
         pdcattr->crForegroundClr = RGB(0, 0, 0);
         DC_UnlockDc(pdc);
     }
+    DC_InitDC(hdc);
 
     if (hVisRgn)
     {




More information about the Ros-diffs mailing list