Commit 8cec022f authored by Federico Mena Quintero's avatar Federico Mena Quintero Committed by Federico Mena Quintero
Browse files

Fix the update region notification to handle top-to-bottom and

2002-09-27  Federico Mena Quintero  <federico@ximian.com>

	* io-bmp.c (OneLine): Fix the update region notification to handle
	top-to-bottom and bottom-to-top BMPs correctly.
parent 393ad738
2002-09-27 Federico Mena Quintero <federico@ximian.com>
* io-bmp.c (OneLine): Fix the update region notification to handle
top-to-bottom and bottom-to-top BMPs correctly.
2002-09-19 Matthias Clasen <maclas@gmx.de>
* Revert the previous change; the symbols need to be exported
......
......@@ -802,9 +802,11 @@ static void OneLine(struct bmp_progressive_state *context)
if (context->updated_func != NULL) {
(*context->updated_func) (context->pixbuf,
0,
context->Lines,
(context->Header.Negative ?
(context->Lines - 1) :
(context->Header.height - context->Lines)),
context->Header.width,
2,
1,
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