aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/man_term.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2012-07-16 21:59:40 +0000
committerIngo Schwarze <schwarze@openbsd.org>2012-07-16 21:59:40 +0000
commit7b8f7531d27ac46d42eb5753c359472e16e72171 (patch)
treeeeb7594df96fdfd08bfb00beb8fcb6e66808f79d /man_term.c
parent39070b5ef533e98051bf2861547f00117148516f (diff)
downloadmandoc-7b8f7531d27ac46d42eb5753c359472e16e72171.tar.gz
mandoc-7b8f7531d27ac46d42eb5753c359472e16e72171.tar.zst
mandoc-7b8f7531d27ac46d42eb5753c359472e16e72171.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. OpenBSD rev. 1.87
Diffstat (limited to 'man_term.c')
-rw-r--r--man_term.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/man_term.c b/man_term.c
index 93f927d9..c8d558e0 100644
--- a/man_term.c
+++ b/man_term.c
@@ -1,4 +1,4 @@
-/* $Id: man_term.c,v 1.132 2012/07/14 10:47:07 schwarze Exp $ */
+/* $Id: man_term.c,v 1.133 2012/07/16 21:59:40 schwarze Exp $ */
/*
* Copyright (c) 2008-2012 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2010, 2011, 2012 Ingo Schwarze <schwarze@openbsd.org>
@@ -771,7 +771,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;