From: Gregor Schneider Date: Sun, 20 Dec 2009 17:18:36 +0000 (+0000) Subject: [win32k] Initialize Information contexts too, fixes eight more mapping tests X-Git-Tag: backups/aicom-network-stable@46924~237 X-Git-Url: https://git.reactos.org/?p=reactos.git;a=commitdiff_plain;h=3d372532ccdc7f9dfadf125de05378ba39bc591f [win32k] Initialize Information contexts too, fixes eight more mapping tests svn path=/trunk/; revision=44672 --- diff --git a/reactos/subsystems/win32/win32k/objects/dclife.c b/reactos/subsystems/win32/win32k/objects/dclife.c index a7e903f5d53..d0f37876167 100644 --- a/reactos/subsystems/win32/win32k/objects/dclife.c +++ b/reactos/subsystems/win32/win32k/objects/dclife.c @@ -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) {