From 57a6302920d738a0f943ec56aa7d87683e443246 Mon Sep 17 00:00:00 2001 From: ache Date: Sun, 14 Oct 2007 10:23:54 +0000 Subject: Back out iswascii change from prev. commit, iswascii was right, some overlook from me. --- include/wctype.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/wctype.h') 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) -- cgit v1.1