From 7476f9ec718c91ceb757d18ea8c131a320fc3422 Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Mon, 6 Jul 2009 22:55:34 +0000 Subject: .Bd -offset indent-two is two times 6, not two times 5 spaces ok kristaps@ and contained in 1.7.21 --- usr.bin/mandoc/mdoc_term.c | 4 ++-- 1 file 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 * @@ -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.). */ -- cgit v1.2.3