diff options
author | Matthias Clasen <mclasen@redhat.com> | 2006-03-03 05:42:06 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2006-03-03 05:42:06 +0000 |
commit | f6a3f239144cadd3a3fda2dfe7d2aeaa0d69d10f (patch) | |
tree | 89702498d1b8ddbe6c0fa9ab0d64a40c365e9b93 /gdk-pixbuf | |
parent | 91336be9b3d145c0b7a0250f953d980c1dea9061 (diff) | |
download | gtk+-f6a3f239144cadd3a3fda2dfe7d2aeaa0d69d10f.tar.gz |
Fix incremental loading of 8-bit pcx files. (#148518, Magnus Bergmann)
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)
Diffstat (limited to 'gdk-pixbuf')
-rw-r--r-- | gdk-pixbuf/ChangeLog | 5 | ||||
-rw-r--r-- | 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 <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: 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 |