diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2012-07-16 10:45:41 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2012-07-16 10:45:41 +0000 |
commit | 7260a61d39e92ac325832b9dfbb203ebc0eb2a88 (patch) | |
tree | b8bed423cae11e4b7c4582af51ee6e21d74d0972 | |
parent | 9cc2ea62b7433f3021b78293349ccddded36ce3c (diff) | |
download | mandoc-7260a61d39e92ac325832b9dfbb203ebc0eb2a88.tar.gz |
For .El .sp, avoid the weird .sp -1v .PP .PP output sequence.
Synching to OpenBSD rev. 1.38.
-rw-r--r-- | mdoc_man.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -1342,9 +1342,10 @@ static int pre_sp(DECL_ARGS) { - if (MMAN_PP & outflags && MDOC_It != n->parent->tok) + if (MMAN_PP & outflags) { + outflags &= ~MMAN_PP; print_line(".PP", 0); - else + } else print_line(".sp", 0); return(1); } |