summaryrefslogtreecommitdiff
path: root/render/layout.c
diff options
context:
space:
mode:
authorJames Bursa <james@netsurf-browser.org>2003-09-08 22:47:11 +0000
committerJames Bursa <james@netsurf-browser.org>2003-09-08 22:47:11 +0000
commitc05f00209fcc376203125fdace01372632592c42 (patch)
tree14c424413edc5a5afebc03b549c0cee530c3a100 /render/layout.c
parent74b71f82954f72aa47eaaca497f58c1815c5e3db (diff)
downloadnetsurf-c05f00209fcc376203125fdace01372632592c42.tar.gz
netsurf-c05f00209fcc376203125fdace01372632592c42.tar.bz2
[project @ 2003-09-08 22:47:11 by bursa]
Box width fixes. svn path=/import/netsurf/; revision=272
Diffstat (limited to 'render/layout.c')
-rw-r--r--render/layout.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/render/layout.c b/render/layout.c
index 4e6427b9a..f428ae36d 100644
--- a/render/layout.c
+++ b/render/layout.c
@@ -237,6 +237,8 @@ unsigned long layout_block_children(struct box * box, unsigned long width, struc
c->y = y;
layout_node(c, width, cont, cx, cy + y);
y = c->y + c->height;
+ if (box->width < c->width)
+ box->width = c->width;
}
return y;
}