mirror of
https://github.com/netsurf-browser/netsurf
synced 2025-01-19 01:02:32 +03:00
Simplify place_float_below loop condition.
This commit is contained in:
parent
4055ecf796
commit
ad273a41e8
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user