From 4d520be08c0713e002d5622e9c362b35307dbe75 Mon Sep 17 00:00:00 2001 From: Richard Wilson Date: Tue, 9 Nov 2004 21:27:59 +0000 Subject: [project @ 2004-11-09 21:27:59 by rjw] Fix for GIF dirty frame clearance bug. svn path=/import/netsurf/; revision=1353 --- image/gifread.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'image/gifread.h') diff --git a/image/gifread.h b/image/gifread.h index 77e899b81..f5d88d481 100644 --- a/image/gifread.h +++ b/image/gifread.h @@ -51,7 +51,7 @@ typedef struct gif_animation { unsigned int buffer_position; /**< current index into GIF data */ unsigned int buffer_size; /**< total number of bytes of GIF data available */ unsigned int frame_holders; /**< current number of frame holders */ - unsigned int decoded_frame; /**< current frame decoded to bitmap */ + int decoded_frame; /**< current frame decoded to bitmap */ int loop_count; /**< number of times to loop animation */ gif_frame *frames; /**< decoded frames */ unsigned int width; /**< width of GIF (may increase during decoding) */ @@ -64,7 +64,7 @@ typedef struct gif_animation { bool global_colours; /**< whether the GIF has a global colour table */ unsigned int *global_colour_table; /**< global colour table */ unsigned int *local_colour_table; /**< local colour table */ - unsigned int dirty_frame; /**< the current dirty frame, or -1 for none */ + int dirty_frame; /**< the current dirty frame, or -1 for none */ struct bitmap *frame_image; /**< currently decoded image */ } gif_animation; -- cgit v1.2.3