summaryrefslogtreecommitdiffstats
path: root/man_term.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2011-01-25 12:35:09 +0000
committerIngo Schwarze <schwarze@openbsd.org>2011-01-25 12:35:09 +0000
commit7af39d09674498b502965c63cb5f54c73013e86b (patch)
tree3c8f7d7d19a8143f586f416537580ff279a620bd /man_term.c
parentb57f25f5dcdaf894edfb23e0626b28e92f367c09 (diff)
downloadmandoc-7af39d09674498b502965c63cb5f54c73013e86b.tar.gz
Avoid double blank line before a table preceded by .PP.
ok kristaps@
Diffstat (limited to 'man_term.c')
-rw-r--r--man_term.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/man_term.c b/man_term.c
index c2e6e6e5..97e97dea 100644
--- a/man_term.c
+++ b/man_term.c
@@ -212,6 +212,9 @@ print_bvspace(struct termp *p, const struct man_node *n)
{
term_newln(p);
+ if (n->body && n->body->child && MAN_TBL == n->body->child->type)
+ return;
+
if (NULL == n->prev)
return;