aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/mdoc_man.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2017-02-16 03:00:23 +0000
committerIngo Schwarze <schwarze@openbsd.org>2017-02-16 03:00:23 +0000
commit873dc9b1d77212924c035df9c1accfbb3a4a6a7e (patch)
tree808bfc450c8bb7abb5f7f1c1b43d0af1d149b29d /mdoc_man.c
parent08e529bf9f1013c38e9f15c21bac1c75922a0d3e (diff)
downloadmandoc-873dc9b1d77212924c035df9c1accfbb3a4a6a7e.tar.gz
mandoc-873dc9b1d77212924c035df9c1accfbb3a4a6a7e.tar.zst
mandoc-873dc9b1d77212924c035df9c1accfbb3a4a6a7e.zip
Remove the ENDBODY_NOSPACE flag, simplifying the code.
Comparing to groff output, it appears that all cases where it was used and made a difference actually require the opposite, ENDBODY_SPACE. I have no idea why i added it back in 2010; maybe to compensate for some other bug that has long been fixed.
Diffstat (limited to 'mdoc_man.c')
-rw-r--r--mdoc_man.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/mdoc_man.c b/mdoc_man.c
index 1785a034..253dc7ce 100644
--- a/mdoc_man.c
+++ b/mdoc_man.c
@@ -1,4 +1,4 @@
-/* $Id: mdoc_man.c,v 1.102 2017/02/06 03:44:58 schwarze Exp $ */
+/* $Id: mdoc_man.c,v 1.103 2017/02/16 03:00:23 schwarze Exp $ */
/*
* Copyright (c) 2011-2017 Ingo Schwarze <schwarze@openbsd.org>
*
@@ -639,9 +639,6 @@ print_node(DECL_ARGS)
if (ENDBODY_NOT != n->end)
n->body->flags |= NODE_ENDED;
-
- if (ENDBODY_NOSPACE == n->end)
- outflags &= ~(MMAN_spc | MMAN_nl);
}
static int