When changing from DIB_Status_GdiMod to DIB_Status_GdiMod, we have to

set the previous status to DIB_Status_GdiMod, otherwise a
non-committing unlock could incorrectly revert the DIB to another
state, rather than the correct DIB_Status_GdiMod.
This commit is contained in:
Robert Shearman 2004-11-23 12:21:05 +00:00 committed by Alexandre Julliard
parent 7c1ad31f47
commit 83f7b39dab

View file

@ -4289,6 +4289,7 @@ INT X11DRV_DIB_Coerce(BITMAPOBJ *bmp, INT req, BOOL lossy)
case DIB_Status_GdiMod:
TRACE("GdiMod requested in status GdiMod\n" );
dib->p_status = DIB_Status_GdiMod;
break;
case DIB_Status_InSync: