diff options
author | James Bursa <james@netsurf-browser.org> | 2004-06-24 23:29:31 +0000 |
---|---|---|
committer | James Bursa <james@netsurf-browser.org> | 2004-06-24 23:29:31 +0000 |
commit | 496bfa6d742a952bb33abf156f6e26910bd60584 (patch) | |
tree | 4cf53a619ee349308cf522920e7efb7fcce7d2aa /render | |
parent | 86e56dc173b4d7a539ef7c87005dcd5276b336a7 (diff) | |
download | netsurf-496bfa6d742a952bb33abf156f6e26910bd60584.tar.gz netsurf-496bfa6d742a952bb33abf156f6e26910bd60584.tar.bz2 |
[project @ 2004-06-24 23:29:31 by bursa]
Simplify and improve parse_background_position(). Implement css_parse_rgb(). Fix truncation of paragraphs with background images.
svn path=/import/netsurf/; revision=1003
Diffstat (limited to 'render')
-rw-r--r-- | render/html.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/render/html.c b/render/html.c index 6a63bfdda..dfbc3c106 100644 --- a/render/html.c +++ b/render/html.c @@ -727,10 +727,10 @@ void html_object_done(struct box *box, struct content *object, if (background) { box->background = object; + return; } - else { - box->object = object; - } + + box->object = object; if (box->width != UNKNOWN_WIDTH && object->available_width != box->width) |