summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tbl_layout.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tbl_layout.c b/tbl_layout.c
index 48a654cc..1bfcee1b 100644
--- a/tbl_layout.c
+++ b/tbl_layout.c
@@ -308,6 +308,7 @@ tbl_layout(struct tbl_node *tbl, int ln, const char *p, int pos)
rp->next->first == NULL) {
free(rp->next);
rp->next = NULL;
+ tbl->last_row = rp;
}
}
return;