forked from AuroraMiddleware/gtk
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:
parent
393ad7381e
commit
8cec022f3f
@ -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-19 Matthias Clasen <maclas@gmx.de>
|
2002-09-19 Matthias Clasen <maclas@gmx.de>
|
||||||
|
|
||||||
* Revert the previous change; the symbols need to be exported
|
* 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) {
|
if (context->updated_func != NULL) {
|
||||||
(*context->updated_func) (context->pixbuf,
|
(*context->updated_func) (context->pixbuf,
|
||||||
0,
|
0,
|
||||||
context->Lines,
|
(context->Header.Negative ?
|
||||||
|
(context->Lines - 1) :
|
||||||
|
(context->Header.height - context->Lines)),
|
||||||
context->Header.width,
|
context->Header.width,
|
||||||
2,
|
1,
|
||||||
context->user_data);
|
context->user_data);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user