mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-10-27 16:50:58 +01:00
Christoph Bauer: users/11416: bad use of VARARR()
This commit is contained in:
parent
212bbe3938
commit
25bb07b80e
2 changed files with 7 additions and 2 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue