diff options
author | James Bursa <james@netsurf-browser.org> | 2003-09-08 22:47:11 +0000 |
---|---|---|
committer | James Bursa <james@netsurf-browser.org> | 2003-09-08 22:47:11 +0000 |
commit | c05f00209fcc376203125fdace01372632592c42 (patch) | |
tree | 14c424413edc5a5afebc03b549c0cee530c3a100 /render/layout.c | |
parent | 74b71f82954f72aa47eaaca497f58c1815c5e3db (diff) | |
download | netsurf-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.c | 2 |
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; } |