summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorschwarze <schwarze@openbsd.org>2009-07-06 23:37:27 +0000
committerschwarze <schwarze@openbsd.org>2009-07-06 23:37:27 +0000
commitb8ed647b3e1c7d43e22e204140661c4ebd430dc5 (patch)
treee507bd4b10f367f62c61bdafcba107482304b52f
parent.Bd -offset indent-two is two times 6, not two times 5 spaces (diff)
downloadwireguard-openbsd-b8ed647b3e1c7d43e22e204140661c4ebd430dc5.tar.xz
wireguard-openbsd-b8ed647b3e1c7d43e22e204140661c4ebd430dc5.zip
sync to 1.7.21: increment offset by the value of .Bd -offset
instead of resetting it to the value; no functional change, as currently offset is always 0 at this point, but perhaps it's safer with respect to possible future changes
-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 a48bde75eca..61885a8a895 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.20 2009/07/06 22:55:33 schwarze Exp $ */
+/* $Id: mdoc_term.c,v 1.21 2009/07/06 23:37:27 schwarze Exp $ */
/*
* Copyright (c) 2008, 2009 Kristaps Dzonsons <kristaps@kth.se>
*
@@ -756,7 +756,7 @@ termp_it_pre(DECL_ARGS)
if (vals[0] >= 0)
width = arg_width(&bl->args->argv[vals[0]], 0);
if (vals[1] >= 0)
- offset = arg_offset(&bl->args->argv[vals[1]]);
+ offset += arg_offset(&bl->args->argv[vals[1]]);
break;
}