summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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