summaryrefslogtreecommitdiffstatshomepage
path: root/mdoc_term.c
diff options
context:
space:
mode:
Diffstat (limited to 'mdoc_term.c')
-rw-r--r--mdoc_term.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/mdoc_term.c b/mdoc_term.c
index 644f1746..0a13e5a6 100644
--- a/mdoc_term.c
+++ b/mdoc_term.c
@@ -1,4 +1,4 @@
-/* $Id: mdoc_term.c,v 1.86 2009/10/03 19:02:45 kristaps Exp $ */
+/* $Id: mdoc_term.c,v 1.87 2009/10/07 12:20:20 kristaps Exp $ */
/*
* Copyright (c) 2008, 2009 Kristaps Dzonsons <kristaps@kth.se>
*
@@ -1609,11 +1609,14 @@ termp_bd_pre(DECL_ARGS)
return(1);
for (nn = n->child; nn; nn = nn->next) {
+ p->flags |= TERMP_NOSPACE;
print_node(p, pair, m, nn);
if (NULL == nn->next)
continue;
if (nn->prev && nn->prev->line < nn->line)
term_flushln(p);
+ else if (NULL == nn->prev)
+ term_flushln(p);
}
return(0);