diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2011-01-23 14:54:21 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2011-01-23 14:54:21 +0000 |
commit | 297ba18d1edc64e548dceafafb57df092183bb84 (patch) | |
tree | b56795e970398f3b7aa2af27d31ff862159f8275 /man_term.c | |
parent | 2f58e5e6a0d0d0a3f82af223810510336e93c3b1 (diff) | |
download | mandoc-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.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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): /* |