[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
This commit is contained in:
Richard Wilson 2004-03-12 01:40:42 +00:00
parent 2c3f38af26
commit cdb5b9dcac

View File

@ -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