summaryrefslogtreecommitdiffstats
path: root/term.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2009-03-12 15:55:11 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2009-03-12 15:55:11 +0000
commitdd35a6706a756677ff1c2734a6eb2fad8a6784fb (patch)
treed375e2db00e997a1b57edabdfeabcb581c94d6b1 /term.c
parentcef86e599370c167a95de14673094692334f586e (diff)
downloadmandoc-dd35a6706a756677ff1c2734a6eb2fad8a6784fb.tar.gz
NetBSD '.[[:whitespace:]]*' properly handled.
mdoc.3 indicates compatibilities and bugs.
Diffstat (limited to 'term.c')
-rw-r--r--term.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/term.c b/term.c
index dc27281b..e40dbb8a 100644
--- a/term.c
+++ b/term.c
@@ -508,6 +508,8 @@ termp_it_pre(DECL_ARGS)
(&bl->args->argv[vals[2]], i);
assert(i < (int)bl->args->argv[vals[2]].sz);
width = arg_width(&bl->args->argv[vals[2]], i);
+ if (vals[1] >= 0)
+ offset += arg_offset(&bl->args->argv[vals[1]]);
break;
default:
if (vals[0] >= 0)