summaryrefslogtreecommitdiffstats
path: root/tbl_term.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2014-10-14 02:16:06 +0000
committerIngo Schwarze <schwarze@openbsd.org>2014-10-14 02:16:06 +0000
commit2db1b6bde4abe38f4836e766eac615660b2f85c2 (patch)
treef103cfddb098081641c520d96c4a4cb17d77c915 /tbl_term.c
parent619229efd1f5f1aefbec0666e7effe0039234d0c (diff)
downloadmandoc-2db1b6bde4abe38f4836e766eac615660b2f85c2.tar.gz
Rudimentary implementation of the e, x, and z table layout modifiers
to equalize, maximize, and ignore the width of columns. Does not yet take vertical rulers into account, and does not do line breaks within table cells. Considerably improves the lftp(1) manual; issue noticed by sthen@.
Diffstat (limited to 'tbl_term.c')
-rw-r--r--tbl_term.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tbl_term.c b/tbl_term.c
index 52ef73ca..31dabe81 100644
--- a/tbl_term.c
+++ b/tbl_term.c
@@ -91,7 +91,7 @@ term_tbl(struct termp *tp, const struct tbl_span *sp)
tp->tbl.slen = term_tbl_strlen;
tp->tbl.arg = tp;
- tblcalc(&tp->tbl, sp);
+ tblcalc(&tp->tbl, sp, rmargin - tp->offset);
}
/* Horizontal frame at the start of boxed tables. */