dib fixes

Alexandre Julliard julliard at winehq.org
Wed Apr 13 10:11:57 CDT 2005


Rein Klazes <wijn at wanadoo.nl> writes:

> --- wine/dlls/x11drv/dib.c	2005-04-13 08:55:39.000000000 +0200
> +++ mywine/dlls/x11drv/dib.c	2005-04-13 13:24:10.000000000 +0200
> @@ -3484,6 +3484,41 @@ static void X11DRV_DIB_GetImageBits_32( 
>      }
>  }
>  
> +static int XGetSubImageErrorHandler(Display *dpy, XErrorEvent *event, void *arg)
> +{
> +    return 1;
> +}

You should check that this was really a BadMatch error from
XGetSubImage, we don't want to blindly ignore all errors.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list