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:
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;
|
||||
|
Loading…
Reference in New Issue
Block a user