summaryrefslogtreecommitdiff
path: root/riscos/png.c
diff options
context:
space:
mode:
Diffstat (limited to 'riscos/png.c')
-rw-r--r--riscos/png.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/riscos/png.c b/riscos/png.c
index 440a17f34..1cc2bf622 100644
--- a/riscos/png.c
+++ b/riscos/png.c
@@ -253,6 +253,7 @@ bool nspng_convert(struct content *c, int width, int height)
if (c->title)
snprintf(c->title, 100, messages_get("PNGTitle"),
c->width, c->height, c->source_size);
+ c->size += (c->width * c->height * 4) + 16 + 44 + 100;
c->status = CONTENT_STATUS_DONE;
return true;
}