diff options
author | Tanaka Akira <akr@users.sourceforge.net> | 2000-01-04 08:38:11 +0000 |
---|---|---|
committer | Tanaka Akira <akr@users.sourceforge.net> | 2000-01-04 08:38:11 +0000 |
commit | f1b72aad8d7374219d332d1e880f247a80e621b0 (patch) | |
tree | 9ecc915f0ace7c415ae3166e3bf0ab2c48f3e860 /Src | |
parent | 7ce9bfda5234752a89e46cd85fe5462570b63605 (diff) | |
download | zsh-f1b72aad8d7374219d332d1e880f247a80e621b0.tar.gz zsh-f1b72aad8d7374219d332d1e880f247a80e621b0.tar.xz zsh-f1b72aad8d7374219d332d1e880f247a80e621b0.zip |
zsh-workers/9188
Diffstat (limited to 'Src')
-rw-r--r-- | Src/loop.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Src/loop.c b/Src/loop.c index b81ce29aa..0d7379c00 100644 --- a/Src/loop.c +++ b/Src/loop.c @@ -357,7 +357,7 @@ execrepeat(Cmd cmd, LinkList args, int flags) pushheap(); cmdpush(CS_REPEAT); loops++; - while (count--) { + while (count-- > 0) { execlist(cmd->u.list, 1, 0); freeheap(); if (breaks) { |