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/mdoc.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/mdoc.c')
-rw-r--r-- | usr.bin/mandoc/mdoc.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.bin/mandoc/mdoc.c b/usr.bin/mandoc/mdoc.c index ee6b8d90326..7368dedca61 100644 --- a/usr.bin/mandoc/mdoc.c +++ b/usr.bin/mandoc/mdoc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mdoc.c,v 1.115 2014/10/16 01:10:06 schwarze Exp $ */ +/* $OpenBSD: mdoc.c,v 1.116 2014/10/20 02:31:44 schwarze Exp $ */ /* * Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv> * Copyright (c) 2010, 2012, 2013, 2014 Ingo Schwarze <schwarze@openbsd.org> @@ -203,6 +203,8 @@ mdoc_addeqn(struct mdoc *mdoc, const struct eqn *ep) n = node_alloc(mdoc, ep->ln, ep->pos, MDOC_MAX, MDOC_EQN); n->eqn = ep; + if (ep->ln > mdoc->last->line) + n->flags |= MDOC_LINE; if ( ! node_append(mdoc, n)) return(0); |