about summary refs log tree commit diff
path: root/Src/Zle
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/Zle
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/Zle')
-rw-r--r--Src/Zle/complete.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Src/Zle/complete.c b/Src/Zle/complete.c
index 2b73ea33e..6054f2ac1 100644
--- a/Src/Zle/complete.c
+++ b/Src/Zle/complete.c
@@ -1034,7 +1034,7 @@ set_compstate(Param pm, HashTable ht)
 		 pp = compkpms; cp->name; cp++, pp++)
 		if (!strcmp(hn->nam, cp->name)) {
 		    v.isarr = v.inv = v.start = 0;
-		    v.len = -1;
+		    v.end = -1;
 		    v.arr = NULL;
 		    v.pm = (Param) hn;
 		    if (cp->type == PM_INTEGER)