diff options
author | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2009-07-06 23:37:28 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2009-07-06 23:37:28 +0000 |
commit | 79158d9cd0708f4860b68c7c16ed37d02b58d16f (patch) | |
tree | 55760f0e07f424ce9b6b64c9d32a87ab076b04e7 | |
parent | 7476f9ec718c91ceb757d18ea8c131a320fc3422 (diff) |
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.c | 4 |
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; } |