Make libpng image handler set opaque info.

svn path=/trunk/netsurf/; revision=6669
This commit is contained in:
Michael Drake 2009-03-02 18:24:54 +00:00
parent 68a3e06b19
commit 8dfdd67e87

View File

@ -247,6 +247,7 @@ bool nspng_convert(struct content *c, int width, int height)
c->size += (c->width * c->height * 4) + NSPNG_TITLE_LEN;
c->bitmap = c->data.png.bitmap;
bitmap_set_opaque(c->bitmap, bitmap_test_opaque(c->bitmap));
bitmap_modified(c->bitmap);
c->status = CONTENT_STATUS_DONE;
content_set_status(c, "");