summaryrefslogtreecommitdiff
path: root/src/eval.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/eval.c')
-rw-r--r--src/eval.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/eval.c b/src/eval.c
index 37ed5153e..3c4a8c562 100644
--- a/src/eval.c
+++ b/src/eval.c
@@ -3624,7 +3624,7 @@ eval_index(
clear_tv(&var2);
return FAIL;
}
- *arg = skipwhite(*arg + 1); // skip the ']'
+ *arg = *arg + 1; // skip over the ']'
}
if (evaluate)