[win32k] Initialize Information contexts too, fixes eight more mapping tests
authorGregor Schneider <grschneider@gmail.com>
Sun, 20 Dec 2009 17:18:36 +0000 (17:18 +0000)
committerGregor Schneider <grschneider@gmail.com>
Sun, 20 Dec 2009 17:18:36 +0000 (17:18 +0000)
svn path=/trunk/; revision=44672

reactos/subsystems/win32/win32k/objects/dclife.c

index a7e903f..d0f3787 100644 (file)
@@ -331,7 +331,6 @@ IntGdiCreateDC(
         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 @@ IntGdiCreateDC(
         pdcattr->crForegroundClr = RGB(0, 0, 0);
         DC_UnlockDc(pdc);
     }
+    DC_InitDC(hdc);
 
     if (hVisRgn)
     {