From 32db7e04d0c3bd255b2e8aa7dbd7c2b884b35614 Mon Sep 17 00:00:00 2001 From: Richard Wilson Date: Thu, 9 Dec 2004 10:30:44 +0000 Subject: [project @ 2004-12-09 10:30:43 by rjw] Re-implementation of hotlist via general tree code. Animations can be stopped once more. Purged a few xcalloc() calls. svn path=/import/netsurf/; revision=1394 --- content/fetchcache.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'content/fetchcache.c') diff --git a/content/fetchcache.c b/content/fetchcache.c index 54fd7e1c8..192da6cd4 100644 --- a/content/fetchcache.c +++ b/content/fetchcache.c @@ -85,6 +85,11 @@ struct content * fetchcache(const char *url, if ((c = content_get(url1)) != NULL) { free(url1); content_add_user(c, callback, p1, p2); + /* resize HTML content to the required size */ + if (c->type == CONTENT_HTML) { + c->width = width; + c->height = height; + } return c; } } -- cgit v1.2.3