From 456077353cf08f64684d3736a81e7e91d8c45a0c Mon Sep 17 00:00:00 2001 From: Richard Wilson Date: Mon, 26 Jul 2004 22:23:40 +0000 Subject: [project @ 2004-07-26 22:23:40 by rjw] Hotlist toolbar icon shading. Fix for GIF animation artifacts under certain conditions. svn path=/import/netsurf/; revision=1151 --- riscos/gifread.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'riscos/gifread.c') diff --git a/riscos/gifread.c b/riscos/gifread.c index 3e9d39b69..437d8dd88 100644 --- a/riscos/gifread.c +++ b/riscos/gifread.c @@ -245,7 +245,6 @@ int gif_initialise(struct gif_animation *gif) { if (gif->frame_count_partial > 0) { /* Set the redraw for the first frame to the maximum frame size */ - gif->frames[0].redraw_required = 0; gif->frames[0].redraw_x = 0; gif->frames[0].redraw_y = 0; gif->frames[0].redraw_width = gif->width; @@ -517,7 +516,7 @@ int gif_initialise_frame(struct gif_animation *gif) { /* if we are clearing the background then we need to redraw enough to cover the previous frame too */ - if (((background_action == 2) || (background_action == 3)) && (frame > 0)) { + if ((background_action == 2) || (background_action == 3)) { gif->frames[frame].redraw_required = 1; } -- cgit v1.2.3