Commit a0dd3bc8 authored by Manish Singh's avatar Manish Singh Committed by Manish Singh

Fill in missing error parameters to DecodeHeader and DecodeColormap.

2001-11-28  Manish Singh  <yosh@gimp.org>

        * gdk-pixbuf/io-bmp.c (gdk_pixbuf__bmp_image_load_increment): Fill
        in missing error parameters to DecodeHeader and DecodeColormap.
parent ea644d35
2001-11-28 Manish Singh <yosh@gimp.org>
* gdk-pixbuf/io-bmp.c (gdk_pixbuf__bmp_image_load_increment): Fill
in missing error parameters to DecodeHeader and DecodeColormap.
2001-11-21 Federico Mena Quintero <federico@ximian.com>
Fix Ximian bug #12125; merged from gdk-pixbuf stable.
......
......@@ -531,7 +531,7 @@ OneLine24 is the 24 bpp-version.
*/
static void OneLine32(struct bmp_progressive_state *context)
{
gint X; int i;
int i;
guchar *pixels;
guchar *src;
......@@ -966,13 +966,15 @@ gdk_pixbuf__bmp_image_load_increment(gpointer data,
switch (context->read_state) {
case READ_STATE_HEADERS:
if (!DecodeHeader (context->buff, context->buff + 14, context))
if (!DecodeHeader (context->buff,
context->buff + 14, context,
error))
return FALSE;
break;
case READ_STATE_PALETTE:
DecodeColormap (context->buff, context);
DecodeColormap (context->buff, context, error);
break;
case READ_STATE_BITMASKS:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment