Fix debug messages.

svn path=/trunk/; revision=14098
This commit is contained in:
Filip Navara 2005-03-15 15:58:36 +00:00
parent 68ed284f6e
commit 37ac253ad6

View file

@ -671,13 +671,14 @@ IntCreatePrimarySurface()
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 @@ IntGdiCreateDC(PUNICODE_STRING Driver,
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 */