summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@cvs.openbsd.org>2009-07-06 22:55:34 +0000
committerIngo Schwarze <schwarze@cvs.openbsd.org>2009-07-06 22:55:34 +0000
commit7476f9ec718c91ceb757d18ea8c131a320fc3422 (patch)
treeda44cf8ed1285af80eb112dab48f4b2ba2ab12a1
parent14c7d6e9017676b0f117d973df41d1f295b054b6 (diff)
.Bd -offset indent-two is two times 6, not two times 5 spaces
ok kristaps@ and contained in 1.7.21
-rw-r--r--usr.bin/mandoc/mdoc_term.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/mandoc/mdoc_term.c b/usr.bin/mandoc/mdoc_term.c
index 61ef9e9e460..a48bde75eca 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.19 2009/06/27 13:03:51 schwarze Exp $ */
+/* $Id: mdoc_term.c,v 1.20 2009/07/06 22:55:33 schwarze Exp $ */
/*
* Copyright (c) 2008, 2009 Kristaps Dzonsons <kristaps@kth.se>
*
@@ -603,7 +603,7 @@ arg_offset(const struct mdoc_argv *arg)
if (0 == strcmp(*arg->value, "indent"))
return(INDENT + 1);
if (0 == strcmp(*arg->value, "indent-two"))
- return(INDENT * 2);
+ return((INDENT + 1) * 2);
/* FIXME: needs to support field-widths (10n, etc.). */