diff options
author | Michael Drake <tlsa@netsurf-browser.org> | 2008-09-22 11:29:39 +0000 |
---|---|---|
committer | Michael Drake <tlsa@netsurf-browser.org> | 2008-09-22 11:29:39 +0000 |
commit | 4c058dd92ce221db0df0bafe691f1431721b6dbd (patch) | |
tree | d83922f4626fa6d218f2d662fec93e1080062be8 /render | |
parent | 1850a494e7112731ecbf9f9e03e3bad3add600be (diff) | |
download | netsurf-4c058dd92ce221db0df0bafe691f1431721b6dbd.tar.gz netsurf-4c058dd92ce221db0df0bafe691f1431721b6dbd.tar.bz2 |
Fix for positioning of inlines when a float is forced below them.
svn path=/trunk/netsurf/; revision=5395
Diffstat (limited to 'render')
-rw-r--r-- | render/layout.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/render/layout.c b/render/layout.c index cbabf5c7d..349764550 100644 --- a/render/layout.c +++ b/render/layout.c @@ -1640,11 +1640,9 @@ bool layout_line(struct box *first, int *width, int *y, * floats */ if (b->type == BOX_FLOAT_LEFT) { b->x = cx; - x0 += b->width; left = b; } else { b->x = cx + *width - b->width; - x1 -= b->width; right = b; } fy = layout_clear(cont->float_children, |