[PATCH 1/2] winex11.drv: X11DRV_DIB_[GS]etImageBits should return 0 on failure.

Lei Zhang thestig at google.com
Fri Jul 18 18:34:08 CDT 2008


On Fri, Jul 18, 2008 at 4:04 PM, Lei Zhang <thestig at google.com> wrote:
> Hi,
>
> X11DRV_DIB_[GS]etImageBits should return 0 on failure because that's
> what SetDIBits specifies. I was looking into bug 14536, and I noticed
> even though X11DRV_DIB_SetImageBits cried "out of memory", it return a
> value > 0 and everything continued as though no error occurred.
>

With patch this time.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0001-winex11.drv-X11DRV_DIB_-GS-etImageBits-should-return.txt
Url: http://www.winehq.org/pipermail/wine-patches/attachments/20080718/01abd004/attachment.txt 


More information about the wine-patches mailing list