about summary refs log tree commit diff
path: root/Src/subst.c
diff options
context:
space:
mode:
authorWayne Davison <wayned@users.sourceforge.net>2000-06-02 01:54:16 +0000
committerWayne Davison <wayned@users.sourceforge.net>2000-06-02 01:54:16 +0000
commit91d5f734349b7188a9a5ae54ecd99974e228bd2b (patch)
tree1fb8a4a7c864843debaf0e8a163bdb0824ae646b /Src/subst.c
parentf77bd804ee098a999bb29769b3e55d6f32fc1279 (diff)
downloadzsh-91d5f734349b7188a9a5ae54ecd99974e228bd2b.tar.gz
zsh-91d5f734349b7188a9a5ae54ecd99974e228bd2b.tar.xz
zsh-91d5f734349b7188a9a5ae54ecd99974e228bd2b.zip
Changed the array "len" to be "end" -- a 1-relative index of the last
item (or you can think of it as pointing one past the last item).
Diffstat (limited to 'Src/subst.c')
-rw-r--r--Src/subst.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Src/subst.c b/Src/subst.c
index a6d98a8c1..227fd3896 100644
--- a/Src/subst.c
+++ b/Src/subst.c
@@ -1138,7 +1138,7 @@ paramsubst(LinkList l, LinkNode n, char **str, int qt, int ssub)
 	    v = (Value) hcalloc(sizeof *v);
 	    v->isarr = isarr;
 	    v->pm = pm;
-	    v->len = -1;
+	    v->end = -1;
 	    if (getindex(&s, v) || s == os)
 		break;
 	}