summaryrefslogtreecommitdiffstats
path: root/mdoc_term.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2009-06-11 07:26:35 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2009-06-11 07:26:35 +0000
commitf690e8836e76c3e77c127e546135ba106d53d2a7 (patch)
tree997f03a680582338cba2d325364fe1d9475cbb65 /mdoc_term.c
parentc2a10113a9a63c28a9785d8792a825c1239b6dd8 (diff)
downloadmandoc-f690e8836e76c3e77c127e546135ba106d53d2a7.tar.gz
Fixed email address in manual AUTHOR reference.
Set max right margin to 80 columns (schwarze@openbsd.org). Fixed centre-field heading position (schwarze@openbsd.org). Also fixed -Tman centre-field.
Diffstat (limited to 'mdoc_term.c')
-rw-r--r--mdoc_term.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mdoc_term.c b/mdoc_term.c
index 077d8f7e..7140dc81 100644
--- a/mdoc_term.c
+++ b/mdoc_term.c
@@ -485,7 +485,7 @@ print_head(struct termp *p, const struct mdoc_meta *meta)
meta->title, meta->msec);
p->offset = 0;
- p->rmargin = (p->maxrmargin - strlen(buf)) / 2;
+ p->rmargin = (p->maxrmargin - strlen(buf) + 1) / 2;
p->flags |= TERMP_NOBREAK | TERMP_NOSPACE;
term_word(p, title);