[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
1 changed files with 1 additions and 1 deletions

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