[WIN32K]
authorJérôme Gardou <jerome.gardou@reactos.org>
Tue, 23 Mar 2010 16:09:23 +0000 (16:09 +0000)
committerJérôme Gardou <jerome.gardou@reactos.org>
Tue, 23 Mar 2010 16:09:23 +0000 (16:09 +0000)
revert r46354

svn path=/branches/reactos-yarotows/; revision=46356

subsystems/win32/win32k/objects/dclife.c

index 1a354f3..83ac0bf 100644 (file)
@@ -90,7 +90,7 @@ void
 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 @@ NtGdiCreateCompatibleDC(HDC hdc)
 {
     HDC hdcNew;
     PPDEVOBJ ppdev;
-    PDC pdc = NULL, pdcNew;
+    PDC pdc, pdcNew;
 
     DPRINT("NtGdiCreateCompatibleDC(0x%p)\n", hdc);