diff options
-rw-r--r-- | render/layout.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/render/layout.c b/render/layout.c index 6875bce61..248a944d4 100644 --- a/render/layout.c +++ b/render/layout.c @@ -1207,7 +1207,7 @@ bool layout_line(struct box *first, int width, int *y, d->padding[TOP] + d->height + d->padding[BOTTOM] + d->border[BOTTOM] + d->margin[BOTTOM]; - if (b->width < (x1 - x0) - x || + if (b->width <= (x1 - x0) - x || (left == 0 && right == 0 && x == 0)) { /* fits next to this line, or this line is empty * with no floats */ |