From 297ba18d1edc64e548dceafafb57df092183bb84 Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Sun, 23 Jan 2011 14:54:21 +0000 Subject: 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. --- man_term.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 * Copyright (c) 2010, 2011 Ingo Schwarze @@ -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): /* -- cgit v1.2.3-56-ge451