[PATCH] DeviceCapabilities fix DC_PAPERSIZE return type

Huw Davies huw at codeweavers.com
Mon Dec 6 04:02:14 CST 2021


On Sat, Dec 04, 2021 at 11:34:00AM +0300, Konstantin Romanov wrote:
> Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=52132
> ---
>  dlls/wineps.drv/driver.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/dlls/wineps.drv/driver.c b/dlls/wineps.drv/driver.c
> index 11de7bc3328..d1a2e6d6f2d 100644
> --- a/dlls/wineps.drv/driver.c
> +++ b/dlls/wineps.drv/driver.c
> @@ -561,7 +561,7 @@ DWORD WINAPI DrvDeviceCapabilities(HANDLE printer, WCHAR *device_name, WORD capa
>    case DC_PAPERSIZE:
>      {
>        PAGESIZE *ps;
> -      POINT16 *pt = output;
> +      POINT *pt = output;
>        int i = 0;
>  
>        LIST_FOR_EACH_ENTRY(ps, &pi->ppd->PageSizes, PAGESIZE, entry)

Thanks, I've sent in a version with a more conventional commit message.
In future, please include a Signed-off-by: line in your submissions.

Huw.



More information about the wine-devel mailing list