summaryrefslogtreecommitdiff
path: root/render
diff options
context:
space:
mode:
Diffstat (limited to 'render')
-rw-r--r--render/layout.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/render/layout.c b/render/layout.c
index 7905eabb7..008be2426 100644
--- a/render/layout.c
+++ b/render/layout.c
@@ -2071,7 +2071,7 @@ void find_sides(struct box *fl, int y0, int y1,
*x0 = fx1;
*left = fl;
}
- } else if (fl->type == BOX_FLOAT_RIGHT) {
+ } else {
fx0 = fl->x;
if (fx0 < *x1) {
*x1 = fx0;