summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAndrey A. Chernov <ache@FreeBSD.org>2007-10-27 09:32:32 +0000
committerAndrey A. Chernov <ache@FreeBSD.org>2007-10-27 09:32:32 +0000
commiteb75c0a0d00bd18b1823583247b2f5cd6dcefdc5 (patch)
tree34e8f0e0136076af4ebe33ef9e6f84f0d2457b19 /include
parent6a564b46b6d0f9b597b25cfbe36242653f8007cd (diff)
Notes
Diffstat (limited to 'include')
-rw-r--r--include/_ctype.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/_ctype.h b/include/_ctype.h
index e27ab24f6c19..0076adc7b624 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 >= __mb_sb_limit) ? 0 :
+ return (_c < 0 || _c >= 128) ? 0 :
!!(_DefaultRuneLocale.__runetype[_c] & _f);
}