PATCH: handle NULL XImage in GetBitmapBits

Alexandre Julliard julliard at winehq.org
Mon Dec 12 10:42:57 CST 2005


Marcus Meissner <marcus at jet.franken.de> writes:

> Hi,
>
> This fixes bug 4034.
> XGetImage() returns NULL since we can pass a 0 height value. (298 bytes
> vs 320 byte wide image).

This shouldn't happen, the height should have been checked in
GetBitmapBits already. There's something wrong here...

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list