diff options
Diffstat (limited to 'image/png.c')
-rw-r--r-- | image/png.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/image/png.c b/image/png.c index 8a88a09c8..69ea92312 100644 --- a/image/png.c +++ b/image/png.c @@ -53,7 +53,7 @@ #endif typedef struct nspng_content { - struct content base; + struct content base; /**< base content type */ png_structp png; png_infop info; @@ -323,6 +323,8 @@ static bool nspng_convert(struct content *c) bitmap_set_opaque(png_c->bitmap, bitmap_test_opaque(png_c->bitmap)); bitmap_modified(png_c->bitmap); + c->bitmap = png_c->bitmap; /* this needs to go */ + content_set_ready(c); content_set_done(c); content_set_status(c, ""); |