diff options
author | Wayne Davison <wayned@users.sourceforge.net> | 2000-06-02 01:54:16 +0000 |
---|---|---|
committer | Wayne Davison <wayned@users.sourceforge.net> | 2000-06-02 01:54:16 +0000 |
commit | 91d5f734349b7188a9a5ae54ecd99974e228bd2b (patch) | |
tree | 1fb8a4a7c864843debaf0e8a163bdb0824ae646b /Src/Modules/parameter.c | |
parent | f77bd804ee098a999bb29769b3e55d6f32fc1279 (diff) | |
download | zsh-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/Modules/parameter.c')
-rw-r--r-- | Src/Modules/parameter.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Src/Modules/parameter.c b/Src/Modules/parameter.c index 23afc0f77..bdced0680 100644 --- a/Src/Modules/parameter.c +++ b/Src/Modules/parameter.c @@ -230,7 +230,7 @@ setpmcommands(Param pm, HashTable ht) struct value v; v.isarr = v.inv = v.start = 0; - v.len = -1; + v.end = -1; v.arr = NULL; v.pm = (Param) hn; @@ -401,7 +401,7 @@ setfunctions(Param pm, HashTable ht, int dis) struct value v; v.isarr = v.inv = v.start = 0; - v.len = -1; + v.end = -1; v.arr = NULL; v.pm = (Param) hn; @@ -755,7 +755,7 @@ setpmoptions(Param pm, HashTable ht) char *val; v.isarr = v.inv = v.start = 0; - v.len = -1; + v.end = -1; v.arr = NULL; v.pm = (Param) hn; @@ -1434,7 +1434,7 @@ setpmnameddirs(Param pm, HashTable ht) char *val; v.isarr = v.inv = v.start = 0; - v.len = -1; + v.end = -1; v.arr = NULL; v.pm = (Param) hn; @@ -1660,7 +1660,7 @@ setaliases(Param pm, HashTable ht, int global, int dis) char *val; v.isarr = v.inv = v.start = 0; - v.len = -1; + v.end = -1; v.arr = NULL; v.pm = (Param) hn; |