Commit eb96e5c8 authored by Matthias Clasen's avatar Matthias Clasen Committed by Matthias Clasen
Browse files

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)
parent fcde8479
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)
Sun Mar 27 19:59:52 2005 Manish Singh <yosh@gimp.org>
* io-bmp.c (grow_buffer): reject 0-sized buffers as corrupt header
......
......@@ -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);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment