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:44:10 +00:00
committed by Matthias Clasen
parent b6a091a076
commit 3922b56686
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-24 Matthias Clasen <mclasen@redhat.com>
* === Released 2.8.13 ===

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