summaryrefslogtreecommitdiffstats
path: root/mdoc_term.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2010-03-23 12:42:22 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2010-03-23 12:42:22 +0000
commitb91ebfead4e5c9a7e1474e1ed5347724613df9d6 (patch)
tree51be4532c14e9004fcbf1431249109077d775ac0 /mdoc_term.c
parent664c21875228ae7f241f792abcc521bc64e42067 (diff)
downloadmandoc-b91ebfead4e5c9a7e1474e1ed5347724613df9d6.tar.gz
Fixed two very subtle bugs in retaining overstep and maxrmargin widths between parse sequences.
Diffstat (limited to 'mdoc_term.c')
-rw-r--r--mdoc_term.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/mdoc_term.c b/mdoc_term.c
index ee1967bc..ecda7c7f 100644
--- a/mdoc_term.c
+++ b/mdoc_term.c
@@ -270,6 +270,9 @@ terminal_mdoc(void *arg, const struct mdoc *mdoc)
p = (struct termp *)arg;
+ p->overstep = 0;
+ p->maxrmargin = 78;
+
if (NULL == p->symtab)
switch (p->enc) {
case (TERMENC_ASCII):