]> Pileus Git - ~andy/gtk/commitdiff
Fix incremental loading of 8-bit pcx files. (#148518, Magnus Bergmann)
authorMatthias Clasen <mclasen@redhat.com>
Fri, 3 Mar 2006 05:42:06 +0000 (05:42 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Fri, 3 Mar 2006 05:42:06 +0000 (05:42 +0000)
2006-03-03  Matthias Clasen  <mclasen@redhat.com>

* io-pcx.c (pcx_load_palette_8): Fix incremental loading
of 8-bit pcx files.  (#148518, Magnus Bergmann)

gdk-pixbuf/ChangeLog
gdk-pixbuf/io-pcx.c

index 4b348d57f27e321824165dfaf58119cefca93951..3e8dc05d39d354c0b87113b69f906df8f05b9810 100644 (file)
@@ -1,3 +1,8 @@
+2006-03-03  Matthias Clasen  <mclasen@redhat.com>
+
+       * io-pcx.c (pcx_load_palette_8): Fix incremental loading
+       of 8-bit pcx files.  (#148518, Magnus Bergmann)
+
 2006-02-28  Anders Carlsson  <andersca@imendio.com>
 
         * gdk-pixbuf-io.c:
index 7a5ac66bf6d36310d5e03b5197b16ba68b4411a4..e6de063161751256ecc2b6383eab364a60f98d4c 100644 (file)
@@ -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