Commit 3f92a70e authored by Owen Taylor's avatar Owen Taylor Committed by Owen Taylor
Browse files

Fix trailing semicolon on macro, clean up a bit.

Wed Nov  6 15:19:53 2002  Owen Taylor  <otaylor@redhat.com>

        * io-gif.c (CHECK_LZW_SP): Fix trailing semicolon on macro,
        clean up a bit.
parent 11c530fe
Wed Nov 6 15:19:53 2002 Owen Taylor <otaylor@redhat.com>
* io-gif.c (CHECK_LZW_SP): Fix trailing semicolon on macro,
clean up a bit.
2002-11-05 Matthias Clasen <maclas@gmx.de>
* gdk-pixbuf-loader.c: Reindent to follow the gdk-pixbuf indentation.
......
......@@ -565,13 +565,16 @@ gif_lzw_clear_code (GifContext *context)
return 0;
}
#define CHECK_LZW_SP() if(((guchar *)context->lzw_sp) >= (((guchar *)context->lzw_stack) + sizeof(context->lzw_stack))) { \
g_set_error (context->error, \
GDK_PIXBUF_ERROR, \
GDK_PIXBUF_ERROR_CORRUPT_IMAGE, \
_("Stack overflow")); \
return -2; \
}
#define CHECK_LZW_SP() G_STMT_START { \
if ((guchar *)context->lzw_sp >= \
(guchar *)context->lzw_stack + sizeof (context->lzw_stack)) { \
g_set_error (context->error, \
GDK_PIXBUF_ERROR, \
GDK_PIXBUF_ERROR_CORRUPT_IMAGE, \
_("Stack overflow")); \
return -2; \
} \
} G_STMT_END
static int
lzw_read_byte (GifContext *context)
......
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