summaryrefslogtreecommitdiff
path: root/riscos
diff options
context:
space:
mode:
authorRichard Wilson <rjw@netsurf-browser.org>2004-03-12 01:40:42 +0000
committerRichard Wilson <rjw@netsurf-browser.org>2004-03-12 01:40:42 +0000
commitcdb5b9dcaca4a0edb0c26cfc9993e23d4dfb8952 (patch)
tree212c646ad9482b49dcf398460340a6995f1ce639 /riscos
parent2c3f38af26b52464e4387562bb3daa00626ef9b6 (diff)
downloadnetsurf-cdb5b9dcaca4a0edb0c26cfc9993e23d4dfb8952.tar.gz
netsurf-cdb5b9dcaca4a0edb0c26cfc9993e23d4dfb8952.tar.bz2
[project @ 2004-03-12 01:40:42 by rjw]
Fixed bug where the dither and filter values were inverted. svn path=/import/netsurf/; revision=611
Diffstat (limited to 'riscos')
-rw-r--r--riscos/png.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/riscos/png.c b/riscos/png.c
index 988e39704..fa57c2e9f 100644
--- a/riscos/png.c
+++ b/riscos/png.c
@@ -235,6 +235,6 @@ void nspng_redraw(struct content *c, long x, long y,
((char *) c->data.png.sprite_area + c->data.png.sprite_area->first),
x, (int)(y - height),
width, height,
- (option_filter_sprites?0:(1<<1)) | (option_dither_sprites?0:(1<<2)));
+ (option_filter_sprites?(1<<1):0) | (option_dither_sprites?(1<<2):0));
}
#endif