wineps.drv: Use wine_dbgstr_rect() to trace RECTs.
Signed-off-by: Michael Stefaniuc <mstefani@redhat.de> Signed-off-by: Huw Davies <huw@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
a4dcfd1195
commit
148075b183
@ -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,
|
|||||||
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 )
|
|||||||
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 */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user