aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/man_term.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2011-01-23 14:54:21 +0000
committerIngo Schwarze <schwarze@openbsd.org>2011-01-23 14:54:21 +0000
commit297ba18d1edc64e548dceafafb57df092183bb84 (patch)
treeb56795e970398f3b7aa2af27d31ff862159f8275 /man_term.c
parent2f58e5e6a0d0d0a3f82af223810510336e93c3b1 (diff)
downloadmandoc-297ba18d1edc64e548dceafafb57df092183bb84.tar.gz
mandoc-297ba18d1edc64e548dceafafb57df092183bb84.tar.zst
mandoc-297ba18d1edc64e548dceafafb57df092183bb84.zip
Fix another regression caused by the reorg of print_man_node() in rev. 1.97:
End-of-sentence spacing got lost for man(7) after plain text lines.
Diffstat (limited to 'man_term.c')
-rw-r--r--man_term.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/man_term.c b/man_term.c
index c398daf0..47a092fb 100644
--- a/man_term.c
+++ b/man_term.c
@@ -1,4 +1,4 @@
-/* $Id: man_term.c,v 1.99 2011/01/17 00:21:29 schwarze Exp $ */
+/* $Id: man_term.c,v 1.100 2011/01/23 14:54:21 schwarze Exp $ */
/*
* Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2010, 2011 Ingo Schwarze <schwarze@openbsd.org>
@@ -889,6 +889,9 @@ print_man_node(DECL_ARGS)
p->rmargin = rm;
p->maxrmargin = rmax;
}
+
+ if (MAN_EOS & n->flags)
+ p->flags |= TERMP_SENTENCE;
return;
case (MAN_TBL):
/*