Use the correct update regions for compressed bmps. (#150664, Owen Taylor,

2005-03-27  Matthias Clasen  <mclasen@redhat.com>

	* io-bmp.c (DoCompressed): Use the correct update regions for
	compressed bmps.  (#150664, Owen Taylor, test images provided
	by David Costanzo)
This commit is contained in:
Matthias Clasen
2005-03-28 04:16:10 +00:00
committed by Matthias Clasen
parent fcde8479cc
commit eb96e5c861
2 changed files with 7 additions and 1 deletions

View File

@ -1044,7 +1044,7 @@ DoCompressed(struct bmp_progressive_state *context, GError **error)
gint new_y = MIN (context->compr.y, context->Header.height);
(*context->updated_func) (context->pixbuf,
0,
y,
context->Header.height - new_y,
context->Header.width,
new_y - y,
context->user_data);