diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-10-07 12:20:20 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-10-07 12:20:20 +0000 |
commit | 079d090f0a85bd902f66ca40325bf416797af9b9 (patch) | |
tree | 98b3f03a9df7d74903981f26086f7cd06b03bb84 /mdoc_term.c | |
parent | b0df99ee07933dac07e6581a629a0711131f500f (diff) | |
download | mandoc-079d090f0a85bd902f66ca40325bf416797af9b9.tar.gz |
`Bd' literals in -Tascii -mdoc were losing the first line's newline. Fixed.
Diffstat (limited to 'mdoc_term.c')
-rw-r--r-- | mdoc_term.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/mdoc_term.c b/mdoc_term.c index 2f033fba..df887ea6 100644 --- a/mdoc_term.c +++ b/mdoc_term.c @@ -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); |