diff options
author | Peter Stephenson <pws@users.sourceforge.net> | 2005-09-20 15:41:22 +0000 |
---|---|---|
committer | Peter Stephenson <pws@users.sourceforge.net> | 2005-09-20 15:41:22 +0000 |
commit | 29bb2438c0d8a731630ab466a050b0c3bdc82827 (patch) | |
tree | 1e003f142b780a0ce577791fa4ebdf5e7c2308f4 | |
parent | 33c9432d56cbb454ecd48335af22053aca2416bc (diff) | |
download | zsh-29bb2438c0d8a731630ab466a050b0c3bdc82827.tar.gz zsh-29bb2438c0d8a731630ab466a050b0c3bdc82827.tar.xz zsh-29bb2438c0d8a731630ab466a050b0c3bdc82827.zip |
unposted: fix wcsiident
-rw-r--r-- | ChangeLog | 2 | ||||
-rw-r--r-- | Src/utils.c | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog index 745f1e3da..7ac8f0002 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,7 @@ 2005-09-20 Peter Stephenson <pws@csr.com> + * unposted: Src/utils.c: screwed up iident() test in wcsiident(). + * 21737: Src/utils.c: unmetafy wordchars before looking for mulitbyte characters. diff --git a/Src/utils.c b/Src/utils.c index 561624f51..acde33c28 100644 --- a/Src/utils.c +++ b/Src/utils.c @@ -2601,7 +2601,7 @@ wcsiident(wchar_t c) /* NULL is special */ return 0; } else if (len == 1 && isascii(*outstr)) { - return iword(*outstr); + return iident(*outstr); } else { /* not currently allowed, see above */ return 0; |