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

Lei Zhang thestig at google.com
Fri Jul 18 18:04:57 CDT 2008


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.



More information about the wine-patches mailing list