summaryrefslogtreecommitdiffstats
path: root/man_term.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2010-07-22 13:36:25 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2010-07-22 13:36:25 +0000
commitaa5f04e0731be96750ee699e7cee4fe71ebb7a38 (patch)
tree243c613761e0238d486c0fdcc75c1417c0123038 /man_term.c
parent8826f3d114038cc6c9e9a877e8d181e900196a15 (diff)
downloadmandoc-aa5f04e0731be96750ee699e7cee4fe71ebb7a38.tar.gz
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@).
Diffstat (limited to 'man_term.c')
-rw-r--r--man_term.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/man_term.c b/man_term.c
index 0ee9baf0..6958ac45 100644
--- a/man_term.c
+++ b/man_term.c
@@ -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);
}