From f6a3f239144cadd3a3fda2dfe7d2aeaa0d69d10f Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Fri, 3 Mar 2006 05:42:06 +0000 Subject: [PATCH] Fix incremental loading of 8-bit pcx files. (#148518, Magnus Bergmann) 2006-03-03 Matthias Clasen * io-pcx.c (pcx_load_palette_8): Fix incremental loading of 8-bit pcx files. (#148518, Magnus Bergmann) --- gdk-pixbuf/ChangeLog | 5 +++++ gdk-pixbuf/io-pcx.c | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/gdk-pixbuf/ChangeLog b/gdk-pixbuf/ChangeLog index 4b348d57f2..3e8dc05d39 100644 --- a/gdk-pixbuf/ChangeLog +++ b/gdk-pixbuf/ChangeLog @@ -1,3 +1,8 @@ +2006-03-03 Matthias Clasen + + * io-pcx.c (pcx_load_palette_8): Fix incremental loading + of 8-bit pcx files. (#148518, Magnus Bergmann) + 2006-02-28 Anders Carlsson * gdk-pixbuf-io.c: diff --git a/gdk-pixbuf/io-pcx.c b/gdk-pixbuf/io-pcx.c index 7a5ac66bf6..e6de063161 100644 --- a/gdk-pixbuf/io-pcx.c +++ b/gdk-pixbuf/io-pcx.c @@ -353,7 +353,7 @@ pcx_increment_load_data_1(struct pcx_context *context) } if(context->updated_func) - context->updated_func(context->pixbuf, 0, 0, context->width, context->height, context->user_data); + context->updated_func(context->pixbuf, 0, context->current_line, context->width, 1, context->user_data); context->current_line++; @@ -493,7 +493,7 @@ pcx_load_palette_8(struct pcx_context *context) } if(context->updated_func) - context->updated_func(context->pixbuf, 0, context->current_line, context->width, 1, context->user_data); + context->updated_func(context->pixbuf, 0, i, context->width, 1, context->user_data); } #ifdef PCX_DEBUG