diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-06-11 07:26:35 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-06-11 07:26:35 +0000 |
commit | 922b4298b735175f477fe5dde8b3c0c5c7c8c07c (patch) | |
tree | f0669e5ee7cccaec0e6639c949aed5beebae84aa /man_term.c | |
parent | 6e133feff5b8dab64f8a349610b937c9502008a4 (diff) | |
download | mandoc-922b4298b735175f477fe5dde8b3c0c5c7c8c07c.tar.gz mandoc-922b4298b735175f477fe5dde8b3c0c5c7c8c07c.tar.zst mandoc-922b4298b735175f477fe5dde8b3c0c5c7c8c07c.zip |
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 'man_term.c')
-rw-r--r-- | man_term.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,4 +1,4 @@ -/* $Id: man_term.c,v 1.9 2009/06/10 20:18:43 kristaps Exp $ */ +/* $Id: man_term.c,v 1.10 2009/06/11 07:26:35 kristaps Exp $ */ /* * Copyright (c) 2008, 2009 Kristaps Dzonsons <kristaps@kth.se> * @@ -495,7 +495,7 @@ print_head(struct termp *p, const struct man_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); |