From 7d4de02dd6695c84d1787692b20b6a2d9942a67d Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Tue, 25 Jan 2011 12:35:09 +0000 Subject: Avoid double blank line before a table preceded by .PP. ok kristaps@ --- man_term.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/man_term.c b/man_term.c index 47a092fb..06bf35d9 100644 --- a/man_term.c +++ b/man_term.c @@ -1,4 +1,4 @@ -/* $Id: man_term.c,v 1.100 2011/01/23 14:54:21 schwarze Exp $ */ +/* $Id: man_term.c,v 1.101 2011/01/25 12:35:09 schwarze Exp $ */ /* * Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons * Copyright (c) 2010, 2011 Ingo Schwarze @@ -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; -- cgit v1.2.3