diff options
author | 2014-10-20 02:31:44 +0000 | |
---|---|---|
committer | 2014-10-20 02:31:44 +0000 | |
commit | 96e1823c62f58e119917ba8825ed15e33febfa91 (patch) | |
tree | 3cd696b7668a19e74f17ee17e11581ba97eda073 /usr.bin/mandoc/man.c | |
parent | s_client: don't call shutdown on a non-existent socket descriptor. (diff) | |
download | wireguard-openbsd-96e1823c62f58e119917ba8825ed15e33febfa91.tar.xz wireguard-openbsd-96e1823c62f58e119917ba8825ed15e33febfa91.zip |
correct spacing before inline equations
Diffstat (limited to 'usr.bin/mandoc/man.c')
-rw-r--r-- | usr.bin/mandoc/man.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.bin/mandoc/man.c b/usr.bin/mandoc/man.c index 5905deebf56..5293d8f3517 100644 --- a/usr.bin/mandoc/man.c +++ b/usr.bin/mandoc/man.c @@ -1,4 +1,4 @@ -/* $OpenBSD: man.c,v 1.87 2014/09/06 23:24:27 schwarze Exp $ */ +/* $OpenBSD: man.c,v 1.88 2014/10/20 02:31:44 schwarze Exp $ */ /* * Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv> * Copyright (c) 2013, 2014 Ingo Schwarze <schwarze@openbsd.org> @@ -343,6 +343,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); |