diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2010-04-06 07:27:42 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2010-04-06 07:27:42 +0000 |
commit | c1fc26cea90ddef77e9961215dcae4b7ea52f643 (patch) | |
tree | 54c87614e1d465e39950e208d21f38db9833d48d /mdoc_term.c | |
parent | 58e74b4a43bf6e0d03cc6ad02bc4a0c771fb95e8 (diff) | |
download | mandoc-c1fc26cea90ddef77e9961215dcae4b7ea52f643.tar.gz |
`Fl' now correctly suppresses the trailing space if followed by macros on the same line.
Diffstat (limited to 'mdoc_term.c')
-rw-r--r-- | mdoc_term.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mdoc_term.c b/mdoc_term.c index 7e397362..d1de3107 100644 --- a/mdoc_term.c +++ b/mdoc_term.c @@ -1070,10 +1070,10 @@ termp_fl_pre(DECL_ARGS) term_fontpush(p, TERMFONT_BOLD); term_word(p, "\\-"); - /* A blank `Fl' should incur a subsequent space. */ - if (n->child) p->flags |= TERMP_NOSPACE; + else if (n->next && n->next->line == n->line) + p->flags |= TERMP_NOSPACE; return(1); } |