diff options
| author | Andrey A. Chernov <ache@FreeBSD.org> | 2007-10-27 22:32:27 +0000 |
|---|---|---|
| committer | Andrey A. Chernov <ache@FreeBSD.org> | 2007-10-27 22:32:27 +0000 |
| commit | 5dfb7ce5fc1e7a32423c890e3caa9eaecdcbd1da (patch) | |
| tree | e16c2ba4304a0cf42bbc7a05f6fa3836419ad3c8 | |
| parent | 4777d3f98a3c51bc00dfa619d59225d00d8b4c5b (diff) | |
Notes
| -rw-r--r-- | include/_ctype.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/_ctype.h b/include/_ctype.h index 0076adc7b624..7600c4b5b6bc 100644 --- a/include/_ctype.h +++ b/include/_ctype.h @@ -126,7 +126,7 @@ __sbistype(__ct_rune_t _c, unsigned long _f) static __inline int __isctype(__ct_rune_t _c, unsigned long _f) { - return (_c < 0 || _c >= 128) ? 0 : + return (_c & ~0x7F) ? 0 : !!(_DefaultRuneLocale.__runetype[_c] & _f); } |
