summaryrefslogtreecommitdiff
path: root/riscos/gifread.c
diff options
context:
space:
mode:
authorRichard Wilson <rjw@netsurf-browser.org>2004-07-26 22:23:40 +0000
committerRichard Wilson <rjw@netsurf-browser.org>2004-07-26 22:23:40 +0000
commit456077353cf08f64684d3736a81e7e91d8c45a0c (patch)
tree32796a64ea35629b1dcf25ca4d32ec60bbf96ecd /riscos/gifread.c
parentb59616c9ab85b0f58c0318f62e39f197932a712b (diff)
downloadnetsurf-456077353cf08f64684d3736a81e7e91d8c45a0c.tar.gz
netsurf-456077353cf08f64684d3736a81e7e91d8c45a0c.tar.bz2
[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
Diffstat (limited to 'riscos/gifread.c')
-rw-r--r--riscos/gifread.c3
1 files changed, 1 insertions, 2 deletions
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;
}