summaryrefslogtreecommitdiff
path: root/gdk-pixbuf/io-bmp.c
diff options
context:
space:
mode:
authorManish Singh <yosh@gimp.org>2001-11-29 01:39:34 +0000
committerManish Singh <yosh@src.gnome.org>2001-11-29 01:39:34 +0000
commita0dd3bc88414d7091d53ef8d86212f90c4f0cfcb (patch)
treebba59d77e2e4322d81ccbade5ab6e134dfd84321 /gdk-pixbuf/io-bmp.c
parentea644d35726fcdcc37bb529a52c4e393c7f30246 (diff)
downloadgtk+-a0dd3bc88414d7091d53ef8d86212f90c4f0cfcb.tar.gz
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.
Diffstat (limited to 'gdk-pixbuf/io-bmp.c')
-rw-r--r--gdk-pixbuf/io-bmp.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/gdk-pixbuf/io-bmp.c b/gdk-pixbuf/io-bmp.c
index 9ee65013da..225cbde343 100644
--- a/gdk-pixbuf/io-bmp.c
+++ b/gdk-pixbuf/io-bmp.c
@@ -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: