about summary refs log tree commit diff
diff options
context:
space:
mode:
authorTanaka Akira <akr@users.sourceforge.net>1999-09-23 13:19:46 +0000
committerTanaka Akira <akr@users.sourceforge.net>1999-09-23 13:19:46 +0000
commit8d679b92b47607a118c3555340e4f80b88548a53 (patch)
tree98db86c8d8813c1d7b1003494223102be13684f8
parentde08c548ad4d756e7a520e808b6a8db9636317a7 (diff)
downloadzsh-8d679b92b47607a118c3555340e4f80b88548a53.tar.gz
zsh-8d679b92b47607a118c3555340e4f80b88548a53.tar.xz
zsh-8d679b92b47607a118c3555340e4f80b88548a53.zip
zsh-workers/8022
-rw-r--r--Src/Zle/zle_misc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/Src/Zle/zle_misc.c b/Src/Zle/zle_misc.c
index fedb9d5cf..136a9d432 100644
--- a/Src/Zle/zle_misc.c
+++ b/Src/Zle/zle_misc.c
@@ -458,7 +458,8 @@ digitargument(char **args)
 {
     int sign = (zmult < 0) ? -1 : 1;
 
-    if (c < '0' || c > '9')
+    /* allow metafied as well as ordinary digits */
+    if ((c & 0x7f) < '0' || (c & 0x7f) > '9')
 	return 1;
 
     if (!(zmod.flags & MOD_TMULT))