diff options
Diffstat (limited to 'Src')
-rw-r--r-- | Src/params.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Src/params.c b/Src/params.c index 0f20c2b93..629de470a 100644 --- a/Src/params.c +++ b/Src/params.c @@ -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; |