forked from AuroraMiddleware/gtk
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