diff options
author | Peter Stephenson <pws@users.sourceforge.net> | 2007-04-17 11:59:38 +0000 |
---|---|---|
committer | Peter Stephenson <pws@users.sourceforge.net> | 2007-04-17 11:59:38 +0000 |
commit | 25bb07b80e026f2d1e2a7656a6a29ca9b3686b0e (patch) | |
tree | 94e5757c5098b9a756302923a3cac8e42add1ce2 /Src | |
parent | 212bbe3938d802147ace49632e7e9c43d0f6592b (diff) | |
download | zsh-25bb07b80e026f2d1e2a7656a6a29ca9b3686b0e.tar.gz zsh-25bb07b80e026f2d1e2a7656a6a29ca9b3686b0e.tar.xz zsh-25bb07b80e026f2d1e2a7656a6a29ca9b3686b0e.zip |
Christoph Bauer: users/11416: bad use of VARARR()
Diffstat (limited to 'Src')
-rw-r--r-- | Src/utils.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Src/utils.c b/Src/utils.c index 2e4df845a..6041e092b 100644 --- a/Src/utils.c +++ b/Src/utils.c @@ -3055,8 +3055,8 @@ wcsitype(wchar_t c, int itype) if (len == 0) { /* NULL is special */ return zistype(0, itype); - } else if (len == 1 && isascii(*outstr)) { - return zistype(*outstr, itype); + } else if (len == 1 && isascii(outstr[0])) { + return zistype(outstr[0], itype); } else { switch (itype) { case IIDENT: |