diff options
author | Peter Stephenson <pws@users.sourceforge.net> | 2005-11-02 10:11:32 +0000 |
---|---|---|
committer | Peter Stephenson <pws@users.sourceforge.net> | 2005-11-02 10:11:32 +0000 |
commit | 29b0eda154f56d183e28dccea9b7d51946685165 (patch) | |
tree | 783fbeddc5423f5d132c01d89aa1d25ecbeee408 /Src/Zle | |
parent | 8a9c9d80783576918f6c665fdc6751add19aa1f3 (diff) | |
download | zsh-29b0eda154f56d183e28dccea9b7d51946685165.tar.gz zsh-29b0eda154f56d183e28dccea9b7d51946685165.tar.xz zsh-29b0eda154f56d183e28dccea9b7d51946685165.zip |
21973: typo caused digitargument() not to work
Diffstat (limited to 'Src/Zle')
-rw-r--r-- | Src/Zle/zle_misc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Src/Zle/zle_misc.c b/Src/Zle/zle_misc.c index 0a7b5084f..2557fb0ed 100644 --- a/Src/Zle/zle_misc.c +++ b/Src/Zle/zle_misc.c @@ -532,11 +532,11 @@ digitargument(UNUSED(char **args)) * of digits. We are assuming ASCII is a subset of the multibyte * encoding. */ - if (idigit(lastchar)) + if (!idigit(lastchar)) return 1; #else /* allow metafied as well as ordinary digits */ - if (idigit(lastchar & 0x7f)) + if (!idigit(lastchar & 0x7f)) return 1; #endif |