summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@cvs.openbsd.org>2009-06-15 01:07:47 +0000
committerIngo Schwarze <schwarze@cvs.openbsd.org>2009-06-15 01:07:47 +0000
commit7a875291e81ae1aac9d28529dfe8ded7218dd48d (patch)
treeb784cf105ff4033cbc981f70da39966c90afda8f /usr.bin
parentd7afce2789fd8229b8f6c1287edd1741a3765705 (diff)
sync to 1.7.16: adapt INDENT to groff conventions
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/mandoc/mdoc_term.c4
-rw-r--r--usr.bin/mandoc/term.h5
2 files changed, 5 insertions, 4 deletions
diff --git a/usr.bin/mandoc/mdoc_term.c b/usr.bin/mandoc/mdoc_term.c
index 19011d5536e..524b75c89a3 100644
--- a/usr.bin/mandoc/mdoc_term.c
+++ b/usr.bin/mandoc/mdoc_term.c
@@ -1,4 +1,4 @@
-/* $Id: mdoc_term.c,v 1.2 2009/06/14 23:00:57 schwarze Exp $ */
+/* $Id: mdoc_term.c,v 1.3 2009/06/15 01:07:46 schwarze Exp $ */
/*
* Copyright (c) 2008, 2009 Kristaps Dzonsons <kristaps@kth.se>
*
@@ -1834,7 +1834,7 @@ termp_ss_pre(DECL_ARGS)
break;
case (MDOC_HEAD):
TERMPAIR_SETFLAG(p, pair, ttypes[TTYPE_SSECTION]);
- p->offset = INDENT / 2;
+ p->offset = HALFINDENT;
break;
default:
break;
diff --git a/usr.bin/mandoc/term.h b/usr.bin/mandoc/term.h
index 5424f9bb6fb..78cf736f79f 100644
--- a/usr.bin/mandoc/term.h
+++ b/usr.bin/mandoc/term.h
@@ -1,4 +1,4 @@
-/* $Id: term.h,v 1.2 2009/06/14 23:00:57 schwarze Exp $ */
+/* $Id: term.h,v 1.3 2009/06/15 01:07:46 schwarze Exp $ */
/*
* Copyright (c) 2008, 2009 Kristaps Dzonsons <kristaps@kth.se>
*
@@ -19,7 +19,8 @@
/* FIXME - clean up tabs. */
-#define INDENT 6
+#define INDENT 5
+#define HALFINDENT 3
__BEGIN_DECLS