diff options
author | ache <ache@FreeBSD.org> | 2007-10-14 10:23:54 +0000 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 2007-10-14 10:23:54 +0000 |
commit | 57a6302920d738a0f943ec56aa7d87683e443246 (patch) | |
tree | c74ecfaadb66af5eebfa46fa489638f37955a8cf /include | |
parent | bc7eda2e9a76747f33bbcc814ac1d74096b34530 (diff) | |
download | FreeBSD-src-57a6302920d738a0f943ec56aa7d87683e443246.zip FreeBSD-src-57a6302920d738a0f943ec56aa7d87683e443246.tar.gz |
Back out iswascii change from prev. commit, iswascii was right,
some overlook from me.
Diffstat (limited to 'include')
-rw-r--r-- | include/wctype.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/wctype.h b/include/wctype.h index 31f401f..098045f 100644 --- a/include/wctype.h +++ b/include/wctype.h @@ -106,7 +106,7 @@ __END_DECLS #define towupper(wc) __toupper(wc) #if __BSD_VISIBLE -#define iswascii(wc) ((wc) < 0x80) +#define iswascii(wc) (((wc) & ~0x7F) == 0) #define iswhexnumber(wc) __istype((wc), _CTYPE_X) #define iswideogram(wc) __istype((wc), _CTYPE_I) #define iswnumber(wc) __istype((wc), _CTYPE_D) |