summaryrefslogtreecommitdiffstats
path: root/tbl_term.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2015-03-06 15:48:52 +0000
committerIngo Schwarze <schwarze@openbsd.org>2015-03-06 15:48:52 +0000
commitece1130543926ea0ba9501d03e83d5b9b3397ca1 (patch)
tree9c7ad63c90c23aafd763f2edfc1899d2604e8f3f /tbl_term.c
parent266a26007c7adee2f5afdcf2daad4e88a6a28775 (diff)
downloadmandoc-ece1130543926ea0ba9501d03e83d5b9b3397ca1.tar.gz
Fix vertical spacing at the beginning of tables.
man(7) always prints a blank line, mdoc(7) doesn't. Problem in mdoc(7) reported by kristaps@. mdoc(7) part of the patch tested by kristaps@.
Diffstat (limited to 'tbl_term.c')
-rw-r--r--tbl_term.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/tbl_term.c b/tbl_term.c
index 54e0303b..a2a3996c 100644
--- a/tbl_term.c
+++ b/tbl_term.c
@@ -66,9 +66,6 @@ term_tbl(struct termp *tp, const struct tbl_span *sp)
size_t rmargin, maxrmargin, tsz;
int ic, horiz, spans, vert;
- if (tp->tbl.cols == NULL)
- term_flushln(tp);
-
rmargin = tp->rmargin;
maxrmargin = tp->maxrmargin;