summaryrefslogtreecommitdiffstats
path: root/tbl_layout.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2011-01-02 20:34:05 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2011-01-02 20:34:05 +0000
commitacbea5cc811c026741e14c43e082ea541d143fba (patch)
treea0ca5c254d6b5287bf5222a94071986f6e362eae /tbl_layout.c
parentf279bc4a434881f935cf80613c8aa4e477c45f13 (diff)
downloadmandoc-acbea5cc811c026741e14c43e082ea541d143fba.tar.gz
Fix table to print nicely (merging error). Also have -Ttree push out some
header stuff.
Diffstat (limited to 'tbl_layout.c')
-rw-r--r--tbl_layout.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tbl_layout.c b/tbl_layout.c
index b01b521c..3e3695cd 100644
--- a/tbl_layout.c
+++ b/tbl_layout.c
@@ -294,7 +294,7 @@ cell_alloc(struct tbl_node *tbl, struct tbl_row *rp, enum tbl_cellt pos)
* ones.
*/
- h = pp ? pp->head->prev : tbl->first_head;
+ h = pp ? pp->head->next : tbl->first_head;
if (h) {
/* Re-use data header. */