gdiplus: Copy the bits on bitmap unlock if the write flag is set.
authorVincent Povirk <vincent@codeweavers.com>
Thu, 24 Feb 2011 22:09:17 +0000 (16:09 -0600)
committerAlexandre Julliard <julliard@winehq.org>
Fri, 25 Feb 2011 10:06:25 +0000 (11:06 +0100)
commit58eb96c9e79088383d0f17cbcd82fb88013f500c
treeea202f5acebd47f29864b82b8ceaae7f78dc9399
parentd086af1d365f92e23d0d9d93f2e0af2f41c62877
gdiplus: Copy the bits on bitmap unlock if the write flag is set.

The read and write flags are independent, so a read flag being set doesn't
imply we can quit early.
dlls/gdiplus/image.c
dlls/gdiplus/tests/image.c