From 9b1cbd7622e80723cebdbf11e3b784ba3628db5e Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Wed, 9 Jun 2004 20:05:14 +0000 Subject: [project @ 2004-06-09 20:05:14 by jmb] Remove magic numbers. Now uses sensible tinct_FOO style flag names svn path=/import/netsurf/; revision=941 --- riscos/gif.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'riscos/gif.c') diff --git a/riscos/gif.c b/riscos/gif.c index ed4b83124..79b6d44ad 100644 --- a/riscos/gif.c +++ b/riscos/gif.c @@ -103,8 +103,8 @@ void nsgif_redraw(struct content *c, long x, long y, drawing a thumbnail unless something has gone very wrong somewhere else. */ if (ro_gui_current_redraw_gui) { - tinct_options = (ro_gui_current_redraw_gui->option_filter_sprites?(1<<1):0) | - (ro_gui_current_redraw_gui->option_dither_sprites?(1<<2):0); + tinct_options = (ro_gui_current_redraw_gui->option_filter_sprites?tinct_BILINEAR_FILTER:0) | + (ro_gui_current_redraw_gui->option_dither_sprites?tinct_DITHER:0); if (ro_gui_current_redraw_gui->option_animate_images) { current_frame = c->data.gif.current_frame; } else { @@ -116,8 +116,8 @@ void nsgif_redraw(struct content *c, long x, long y, } else { current_frame = c->data.gif.gif->frame_count - 1; } - tinct_options = (option_filter_sprites?(1<<1):0) | - (option_dither_sprites?(1<<2):0); + tinct_options = (option_filter_sprites?tinct_BILINEAR_FILTER:0) | + (option_dither_sprites?tinct_DITHER:0); } /* Decode from the last frame to the current frame -- cgit v1.2.3