Commit 148075b1 authored by Michael Stefaniuc's avatar Michael Stefaniuc Committed by Alexandre Julliard

wineps.drv: Use wine_dbgstr_rect() to trace RECTs.

parent a4dcfd11
...@@ -149,7 +149,7 @@ INT PSDRV_ExtEscape( PHYSDEV dev, INT nEscape, INT cbInput, LPCVOID in_data, ...@@ -149,7 +149,7 @@ INT PSDRV_ExtEscape( PHYSDEV dev, INT nEscape, INT cbInput, LPCVOID in_data,
r->top = 0; r->top = 0;
r->right = physDev->horzRes; r->right = physDev->horzRes;
r->bottom = physDev->vertRes; r->bottom = physDev->vertRes;
TRACE("NEXTBAND returning %d,%d - %d,%d\n", r->left, r->top, r->right, r->bottom ); TRACE("NEXTBAND returning %s\n", wine_dbgstr_rect(r));
return 1; return 1;
} }
r->left = 0; r->left = 0;
...@@ -252,8 +252,7 @@ INT PSDRV_ExtEscape( PHYSDEV dev, INT nEscape, INT cbInput, LPCVOID in_data, ...@@ -252,8 +252,7 @@ INT PSDRV_ExtEscape( PHYSDEV dev, INT nEscape, INT cbInput, LPCVOID in_data,
WARN("cbInput != sizeof(RECT) (=%d) for SET_BOUNDS\n", cbInput); WARN("cbInput != sizeof(RECT) (=%d) for SET_BOUNDS\n", cbInput);
return 0; return 0;
} }
TRACE("SET_BOUNDS (%d,%d) - (%d,%d)\n", r->left, r->top, TRACE("SET_BOUNDS %s\n", wine_dbgstr_rect(r));
r->right, r->bottom);
return 0; return 0;
} }
......
...@@ -331,9 +331,7 @@ static void PSDRV_UpdateDevCaps( PSDRV_PDEVICE *physDev ) ...@@ -331,9 +331,7 @@ static void PSDRV_UpdateDevCaps( PSDRV_PDEVICE *physDev )
physDev->PageSize.cy = 0; physDev->PageSize.cy = 0;
} }
TRACE("ImageableArea = %d,%d - %d,%d: PageSize = %dx%d\n", TRACE("ImageableArea = %s: PageSize = %dx%d\n", wine_dbgstr_rect(&physDev->ImageableArea),
physDev->ImageableArea.left, physDev->ImageableArea.bottom,
physDev->ImageableArea.right, physDev->ImageableArea.top,
physDev->PageSize.cx, physDev->PageSize.cy); physDev->PageSize.cx, physDev->PageSize.cy);
/* these are in device units */ /* these are in device units */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment