summaryrefslogtreecommitdiff
path: root/render
diff options
context:
space:
mode:
Diffstat (limited to 'render')
-rw-r--r--render/layout.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/render/layout.c b/render/layout.c
index 1d2aee836..8548d7aa6 100644
--- a/render/layout.c
+++ b/render/layout.c
@@ -560,8 +560,6 @@ bool layout_block_context(struct box *block, int viewport_height,
/* Set current cy */
cy += box->height -
(y - box->padding[TOP]);
- /* Update y for any change in height */
- y = box->height + box->padding[TOP];
}
cy += box->padding[BOTTOM] +