summaryrefslogtreecommitdiff
path: root/render/html.c
diff options
context:
space:
mode:
authorJames Bursa <james@netsurf-browser.org>2004-06-24 23:29:31 +0000
committerJames Bursa <james@netsurf-browser.org>2004-06-24 23:29:31 +0000
commit496bfa6d742a952bb33abf156f6e26910bd60584 (patch)
tree4cf53a619ee349308cf522920e7efb7fcce7d2aa /render/html.c
parent86e56dc173b4d7a539ef7c87005dcd5276b336a7 (diff)
downloadnetsurf-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/html.c')
-rw-r--r--render/html.c6
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)