diff options
Diffstat (limited to 'Src/Zle/zle_misc.c')
-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 |