1
0
mirror of git://git.code.sf.net/p/zsh/code synced 2024-11-19 21:44:11 +01:00

Finish the job started in my last patch.

This commit is contained in:
Wayne Davison 2000-06-01 20:54:59 +00:00
parent 4fddbb8f5c
commit 6e1d59eb2b

@ -1188,7 +1188,7 @@ getindex(char **pptr, Value v)
if ((com = (*s == ','))) {
s++;
len = getarg(&s, &inv, v, 1, &dummy);
if (len > 0) {
if (len >= 0) {
len -= start - 1;
if (len < 0)
len = 0;