summaryrefslogtreecommitdiffstats
path: root/man.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2014-10-20 02:33:06 +0000
committerIngo Schwarze <schwarze@openbsd.org>2014-10-20 02:33:06 +0000
commit92a2c903373c2aae7aa1d0c680626b21f4011848 (patch)
treeafd8be1ad2fcc51a65fd23aef90e97b6eb0386e3 /man.c
parent1ef973217e594b4c3a9888b786a447856f0de8db (diff)
downloadmandoc-92a2c903373c2aae7aa1d0c680626b21f4011848.tar.gz
correct spacing before inline equations
Diffstat (limited to 'man.c')
-rw-r--r--man.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/man.c b/man.c
index a233f01e..ca4d0973 100644
--- a/man.c
+++ b/man.c
@@ -345,6 +345,8 @@ man_addeqn(struct man *man, const struct eqn *ep)
n = man_node_alloc(man, ep->ln, ep->pos, MAN_EQN, MAN_MAX);
n->eqn = ep;
+ if (ep->ln > man->last->line)
+ n->flags |= MAN_LINE;
if ( ! man_node_append(man, n))
return(0);