[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
This commit is contained in:
Richard Wilson 2004-06-11 21:09:50 +00:00
parent 53ca329cc8
commit 2419316c77
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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;
}