[ros-diffs] [jgardou] 46356: [WIN32K] revert r46354

jgardou at svn.reactos.org jgardou at svn.reactos.org
Tue Mar 23 17:09:23 CET 2010


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/win32/win32k/objects/dclife.c?rev=46356&r1=46355&r2=46356&view=diff
==============================================================================
--- 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);
 




More information about the Ros-diffs mailing list