summaryrefslogtreecommitdiffstats
path: root/man_term.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2014-10-20 15:50:24 +0000
committerIngo Schwarze <schwarze@openbsd.org>2014-10-20 15:50:24 +0000
commit2b4aeafde92b2ab4a20470a50b2f77a0325611fe (patch)
tree1b1ea07478196650aa428334049b4188aa9dece6 /man_term.c
parent0284beff01aa6cf1819c49e16dde13c3eb602990 (diff)
downloadmandoc-2b4aeafde92b2ab4a20470a50b2f77a0325611fe.tar.gz
correct the spacing after in-line equations
that start at the beginning of an input line but end before the end of an input line
Diffstat (limited to 'man_term.c')
-rw-r--r--man_term.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/man_term.c b/man_term.c
index 19ab14af..658e4e70 100644
--- a/man_term.c
+++ b/man_term.c
@@ -990,7 +990,7 @@ print_man_node(DECL_ARGS)
if ( ! (n->flags & MAN_LINE))
p->flags |= TERMP_NOSPACE;
term_eqn(p, n->eqn);
- if ( ! (n->flags & MAN_LINE))
+ if (n->next != NULL && ! (n->next->flags & MAN_LINE))
p->flags |= TERMP_NOSPACE;
return;
case MAN_TBL: