diff options
Diffstat (limited to 'render')
-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 b7d9e2034..45d905fa4 100644 --- a/render/layout.c +++ b/render/layout.c @@ -3472,7 +3472,7 @@ void place_float_below(struct box *c, int width, int cx, int y, } else if (left != 0 && right == 0) { yy = left->y + left->height; } - } while (!((left == 0 && right == 0) || (c->width <= x1 - x0))); + } while ((left != 0 || right != 0) && (c->width > x1 - x0)); if (c->type == BOX_FLOAT_LEFT) { c->x = x0; |