From 2419316c770be51b072bbba8e77fcad9643dd485 Mon Sep 17 00:00:00 2001 From: Richard Wilson Date: Fri, 11 Jun 2004 21:09:50 +0000 Subject: [project @ 2004-06-11 21:09:50 by rjw] Update to PNG title data to make it display the data size svn path=/import/netsurf/; revision=964 --- !NetSurf/Resources/en/Messages | 2 +- riscos/png.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/!NetSurf/Resources/en/Messages b/!NetSurf/Resources/en/Messages index 26a060c11..946fea876 100644 --- a/!NetSurf/Resources/en/Messages +++ b/!NetSurf/Resources/en/Messages @@ -125,7 +125,7 @@ PNGError:PNG library error. DrawTitle:Draw image (%lux%lu, %lu bytes) GIFTitle:GIF image (%lux%lu, %lu bytes) JPEGTitle:JPEG image (%ux%u, %lu bytes) -PNGTitle:PNG image (%lux%lu) +PNGTitle:PNG image (%lux%lu, %lu bytes) SpriteTitle:Sprite image (%lux%lu, %lu bytes) SelectMenu:Select diff --git a/riscos/png.c b/riscos/png.c index b31c992d3..440a17f34 100644 --- a/riscos/png.c +++ b/riscos/png.c @@ -252,7 +252,7 @@ bool nspng_convert(struct content *c, int width, int height) c->title = malloc(100); if (c->title) snprintf(c->title, 100, messages_get("PNGTitle"), - c->width, c->height); + c->width, c->height, c->source_size); c->status = CONTENT_STATUS_DONE; return true; } -- cgit v1.2.3