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:
Matthias Clasen 2006-03-03 05:42:06 +00:00 committed by Matthias Clasen
parent 91336be9b3
commit f6a3f23914
2 changed files with 7 additions and 2 deletions

View 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:

View 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