Fix debug messages.
Modified: trunk/reactos/subsys/win32k/objects/dc.c
_____
Modified: trunk/reactos/subsys/win32k/objects/dc.c
--- trunk/reactos/subsys/win32k/objects/dc.c 2005-03-15 15:57:45 UTC
(rev 14097)
+++ trunk/reactos/subsys/win32k/objects/dc.c 2005-03-15 15:58:36 UTC
(rev 14098)
@@ -671,13 +671,14 @@
return FALSE;
}
+ PrimarySurface.DriverFunctions.AssertMode(PrimarySurface.PDev,
TRUE);
+
/* attach monitor */
IntAttachMonitor(&PrimarySurface, PrimarySurface.DisplayNumber);
SurfObj = EngLockSurface((HSURF)PrimarySurface.Handle);
SurfObj->dhpdev = PrimarySurface.PDev;
SurfSize = SurfObj->sizlBitmap;
- SurfSize = SurfObj->sizlBitmap;
SurfaceRect.left = SurfaceRect.top = 0;
SurfaceRect.right = SurfObj->sizlBitmap.cx;
SurfaceRect.bottom = SurfObj->sizlBitmap.cy;
@@ -760,7 +761,7 @@
if (Driver != NULL && Driver->Buffer != NULL)
{
- DPRINT("NAME: %ws\n", Driver); // FIXME: Should not crash if NULL
+ DPRINT("NAME: %wZ\n", Driver); // FIXME: Should not crash if NULL
}
/* Allocate a DC object */