Re: user32/gdi32: Fix for a crash in create_alpha_bitmap()

2011-01-31 Thread Peter Schlaile
7;s no alpha channel, which is what we are checking here. Ouch! If that is really Windows behaviour, then it is really broken but bug-to-bug compatible :) Cheers, Peter Peter Schlaile

Re: user32/gdi32: Fix for a crash in create_alpha_bitmap()

2011-01-31 Thread Peter Schlaile
Hi Alexandre, On Mon, 31 Jan 2011, Alexandre Julliard wrote: Peter Schlaile writes: Fix: X11DRV_SetDIBits() shouldn't silently change Bitmap protection, so we now restore the protection bits, that were present before instead of always changing to READONLY. No, it needs to be read

Re: user32/gdi32: Fix for a crash in create_alpha_bitmap()

2011-01-30 Thread Peter Schlaile
Hi Vitaliy, On Sun, 30 Jan 2011, Vitaliy Margolen wrote: On 01/30/2011 04:16 AM, Peter Schlaile wrote: Hi, find fix for a crash in create_alpha_bitmap() attached. If it's easy to reproduce please create a test that demonstrates the problem. hmm, don't know, the application that