summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorschwarze <schwarze@openbsd.org>2012-07-16 21:58:39 +0000
committerschwarze <schwarze@openbsd.org>2012-07-16 21:58:39 +0000
commit084d56fbd5be42302b7370ea332ed3e6e0ac503c (patch)
treed64b6f2a7b6237a57fc9d53da6aba372a9dd62ad
parentRelease polishing: finally fix the perl(1) SYNOPSIS. (diff)
downloadwireguard-openbsd-084d56fbd5be42302b7370ea332ed3e6e0ac503c.tar.xz
wireguard-openbsd-084d56fbd5be42302b7370ea332ed3e6e0ac503c.zip
Always fix the man(7) subsection header (.SS) indent to 3n,
do not let it depend on the default indent provided by -Oindent. By default, this doesn't change anything because 7 / 2 = 3; in -Omdoc mode, it makes man(7) output the same as mdoc(7) output.
-rw-r--r--usr.bin/mandoc/man_term.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/mandoc/man_term.c b/usr.bin/mandoc/man_term.c
index 1be65baa9e5..b03c9522941 100644
--- a/usr.bin/mandoc/man_term.c
+++ b/usr.bin/mandoc/man_term.c
@@ -1,4 +1,4 @@
-/* $Id: man_term.c,v 1.86 2012/07/14 10:43:48 schwarze Exp $ */
+/* $Id: man_term.c,v 1.87 2012/07/16 21:58:39 schwarze Exp $ */
/*
* Copyright (c) 2008-2012 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2010, 2011, 2012 Ingo Schwarze <schwarze@openbsd.org>
@@ -767,7 +767,7 @@ pre_SS(DECL_ARGS)
break;
case (MAN_HEAD):
term_fontrepl(p, TERMFONT_BOLD);
- p->offset = term_len(p, p->defindent/2);
+ p->offset = term_len(p, 3);
break;
case (MAN_BODY):
p->offset = mt->offset;