summaryrefslogtreecommitdiffstats
path: root/man_term.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2010-05-10 08:05:17 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2010-05-10 08:05:17 +0000
commitbed4998695cb74458a9807c5d4904d4cafe6df51 (patch)
tree5fc5bf3cf422acc74a6c6223ac5c7295dffedba7 /man_term.c
parentec394264f288d5b965e81e12e6cbee8fb190ab13 (diff)
downloadmandoc-bed4998695cb74458a9807c5d4904d4cafe6df51.tar.gz
-man also now has unbound margins for literal context.
Diffstat (limited to 'man_term.c')
-rw-r--r--man_term.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/man_term.c b/man_term.c
index 1715ff26..65d46f75 100644
--- a/man_term.c
+++ b/man_term.c
@@ -260,7 +260,6 @@ static int
pre_fi(DECL_ARGS)
{
- p->rmargin = p->maxrmargin = 65;
mt->fl &= ~MANT_LITERAL;
return(1);
}
@@ -271,10 +270,7 @@ static int
pre_nf(DECL_ARGS)
{
- p->rmargin = p->maxrmargin = 78;
- term_newln(p);
mt->fl |= MANT_LITERAL;
-
return(MAN_Vb != n->tok);
}
@@ -820,8 +816,10 @@ print_man_node(DECL_ARGS)
/* FIXME: this means that macro lines are munged! */
if (MANT_LITERAL & mt->fl) {
+ p->rmargin = p->maxrmargin = TERM_MAXMARGIN;
p->flags |= TERMP_NOSPACE;
term_flushln(p);
+ p->rmargin = p->maxrmargin = 65;
}
break;
default: