mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-25 13:11:13 +00:00
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)
This commit is contained in:
parent
91336be9b3
commit
f6a3f23914
@ -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:
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user