summaryrefslogtreecommitdiffstats
path: root/term.c
diff options
context:
space:
mode:
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)