From 496bfa6d742a952bb33abf156f6e26910bd60584 Mon Sep 17 00:00:00 2001 From: James Bursa Date: Thu, 24 Jun 2004 23:29:31 +0000 Subject: [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 --- render/html.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'render') 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) -- cgit v1.2.3