Author: jgardou Date: Tue Mar 23 17:09:23 2010 New Revision: 46356
URL: http://svn.reactos.org/svn/reactos?rev=46356&view=rev Log: [WIN32K] revert r46354
Modified: branches/reactos-yarotows/subsystems/win32/win32k/objects/dclife.c
Modified: branches/reactos-yarotows/subsystems/win32/win32k/objects/dclife.c URL: http://svn.reactos.org/svn/reactos/branches/reactos-yarotows/subsystems/win3... ============================================================================== --- branches/reactos-yarotows/subsystems/win32/win32k/objects/dclife.c [iso-8859-1] (original) +++ branches/reactos-yarotows/subsystems/win32/win32k/objects/dclife.c [iso-8859-1] Tue Mar 23 17:09:23 2010 @@ -90,7 +90,7 @@ DC_InitHack(PDC pdc) { HRGN hVisRgn; - if (!pdc) return; + TextIntRealizeFont(pdc->pdcattr->hlfntNew,NULL); pdc->pdcattr->iCS_CP = ftGdiGetTextCharsetInfo(pdc,NULL,0);
@@ -594,7 +594,7 @@ { HDC hdcNew; PPDEVOBJ ppdev; - PDC pdc = NULL, pdcNew; + PDC pdc, pdcNew;
DPRINT("NtGdiCreateCompatibleDC(0x%p)\n", hdc);