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

Huw Davies huw at codeweavers.com
Thu Apr 28 04:45:26 CDT 2016


Signed-off-by: Huw Davies <huw at codeweavers.com>


On Tue, Apr 26, 2016 at 08:48:16PM +0200, Michael Stefaniuc wrote:
> --- a/dlls/wineps.drv/init.c
> +++ b/dlls/wineps.drv/init.c
> @@ -331,9 +331,7 @@ static void PSDRV_UpdateDevCaps( PSDRV_PDEVICE *physDev )
>  	physDev->PageSize.cy = 0;
>      }
>  
> -    TRACE("ImageableArea = %d,%d - %d,%d: PageSize = %dx%d\n",
> -	  physDev->ImageableArea.left, physDev->ImageableArea.bottom,
> -	  physDev->ImageableArea.right, physDev->ImageableArea.top,
> +    TRACE("ImageableArea = %s: PageSize = %dx%d\n", wine_dbgstr_rect(&physDev->ImageableArea),
>  	  physDev->PageSize.cx, physDev->PageSize.cy);

If you hadn't just removed wine_dbgstr_size(), you could have used that
here too ;-)

Huw.




More information about the wine-patches mailing list