diff options
author | John Mark Bell <jmb@netsurf-browser.org> | 2004-06-09 20:05:14 +0000 |
---|---|---|
committer | John Mark Bell <jmb@netsurf-browser.org> | 2004-06-09 20:05:14 +0000 |
commit | 9b1cbd7622e80723cebdbf11e3b784ba3628db5e (patch) | |
tree | 0f52825b181f2512fc4d069cd335699b5b5915bd /riscos/gif.c | |
parent | d0aadf90ca5918495a354bbca7cb830258a3c345 (diff) | |
download | netsurf-9b1cbd7622e80723cebdbf11e3b784ba3628db5e.tar.gz netsurf-9b1cbd7622e80723cebdbf11e3b784ba3628db5e.tar.bz2 |
[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
Diffstat (limited to 'riscos/gif.c')
-rw-r--r-- | riscos/gif.c | 8 |
1 files changed, 4 insertions, 4 deletions
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 |