From 802106a6f9d58bef3c98f97d404778e8f57c4406 Mon Sep 17 00:00:00 2001 From: Kristaps Dzonsons Date: Thu, 22 Jul 2010 13:36:25 +0000 Subject: Have `nf' and `fi' flush lines. This is necessary or the LITERAL will be meaningless when invoked within a non-flushing context. This based on a formatting bug report submitted by Jonathon Gray (jsg@) via Christian Weisgerber (naddy@). --- man_term.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/man_term.c b/man_term.c index e2cb76c0..7e792be2 100644 --- a/man_term.c +++ b/man_term.c @@ -1,4 +1,4 @@ -/* $Id: man_term.c,v 1.80 2010/07/13 23:53:20 schwarze Exp $ */ +/* $Id: man_term.c,v 1.81 2010/07/22 13:36:25 kristaps Exp $ */ /* * Copyright (c) 2008, 2009, 2010 Kristaps Dzonsons * @@ -252,6 +252,7 @@ static int pre_fi(DECL_ARGS) { + term_newln(p); mt->fl &= ~MANT_LITERAL; return(1); } @@ -262,6 +263,7 @@ static int pre_nf(DECL_ARGS) { + term_newln(p); mt->fl |= MANT_LITERAL; return(MAN_Vb != n->tok); } -- cgit v1.2.3-56-ge451