summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tbl_layout.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tbl_layout.c b/tbl_layout.c
index 946fa013..757809fd 100644
--- a/tbl_layout.c
+++ b/tbl_layout.c
@@ -298,6 +298,8 @@ tbl_layout(struct tbl_node *tbl, int ln, const char *p, int pos)
tbl->parse, ln, pos, NULL);
cell_alloc(tbl, tbl->first_row,
TBL_CELL_LEFT);
+ if (tbl->opts.lvert < tbl->first_row->vert)
+ tbl->opts.lvert = tbl->first_row->vert;
return;
}