summaryrefslogtreecommitdiff
path: root/usr.bin/mandoc
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@cvs.openbsd.org>2011-01-23 14:54:16 +0000
committerIngo Schwarze <schwarze@cvs.openbsd.org>2011-01-23 14:54:16 +0000
commit9c4cc7c5f994bf16188735730e752b60b058a8b2 (patch)
tree9a9fb05524592903de765cc7c8f50f6f69b58f21 /usr.bin/mandoc
parent50b60d42df7d1a772852587d78432f93319ca1d2 (diff)
Fix another regression caused by the reorg of print_man_node() in rev. 1.61:
End-of-sentence spacing got lost for man(7) after plain text lines.
Diffstat (limited to 'usr.bin/mandoc')
-rw-r--r--usr.bin/mandoc/man_term.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/usr.bin/mandoc/man_term.c b/usr.bin/mandoc/man_term.c
index 700a3e17381..455d37cd4d3 100644
--- a/usr.bin/mandoc/man_term.c
+++ b/usr.bin/mandoc/man_term.c
@@ -1,4 +1,4 @@
-/* $Id: man_term.c,v 1.62 2011/01/17 00:15:19 schwarze Exp $ */
+/* $Id: man_term.c,v 1.63 2011/01/23 14:54:15 schwarze Exp $ */
/*
* Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2010, 2011 Ingo Schwarze <schwarze@openbsd.org>
@@ -885,6 +885,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):
/*