Simplify place_float_below loop condition.

This commit is contained in:
Michael Drake 2016-01-21 09:44:05 +00:00
parent 4055ecf796
commit ad273a41e8

View File

@ -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;