summaryrefslogtreecommitdiffstats
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
commit2d24433b61527e729091bbd5968fc549ca54c9ea (patch)
tree87bdef44e9397234d2c0f659558f724137ca5e9d /man_term.c
parent7188ff0d37d1e3fc2624b4d1f339a8645bcf65ca (diff)
downloadmandoc-2d24433b61527e729091bbd5968fc549ca54c9ea.tar.gz
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.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/man_term.c b/man_term.c
index 763d6556..c2e6e6e5 100644
--- a/man_term.c
+++ b/man_term.c
@@ -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):
/*