diff options
author | Richard Wilson <rjw@netsurf-browser.org> | 2004-12-09 10:30:44 +0000 |
---|---|---|
committer | Richard Wilson <rjw@netsurf-browser.org> | 2004-12-09 10:30:44 +0000 |
commit | 32db7e04d0c3bd255b2e8aa7dbd7c2b884b35614 (patch) | |
tree | 312984b2b972916fd10e1efc338d08e437d55b70 /content/fetchcache.c | |
parent | 77a96712244ad4a8b4bde235aa051372a64a8789 (diff) | |
download | netsurf-32db7e04d0c3bd255b2e8aa7dbd7c2b884b35614.tar.gz netsurf-32db7e04d0c3bd255b2e8aa7dbd7c2b884b35614.tar.bz2 |
[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
Diffstat (limited to 'content/fetchcache.c')
-rw-r--r-- | content/fetchcache.c | 5 |
1 files changed, 5 insertions, 0 deletions
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; } } |