summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--render/layout.c2
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,