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.
This commit is contained in:
committed by
Federico Mena Quintero
parent
7c0ed9ea8a
commit
1dfa0ef23b
@@ -1,3 +1,8 @@
|
||||
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-25 Federico Mena Quintero <federico@ximian.com>
|
||||
|
||||
* io-jpeg.c: Merged the CMYK changes from HEAD.
|
||||
|
||||
@@ -843,9 +843,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);
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user