diff options
author | theraven <theraven@FreeBSD.org> | 2012-04-22 16:58:14 +0000 |
---|---|---|
committer | theraven <theraven@FreeBSD.org> | 2012-04-22 16:58:14 +0000 |
commit | e2f6a7e8b916335207e650fe212540287bcee49b (patch) | |
tree | 1852510db67fdcb588f5e82b493cb8d9ebc8003c /include | |
parent | 30081abc9ab6f2dc7f346c691e76be4b1c5b9d73 (diff) | |
download | FreeBSD-src-e2f6a7e8b916335207e650fe212540287bcee49b.zip FreeBSD-src-e2f6a7e8b916335207e650fe212540287bcee49b.tar.gz |
Fix a bug caused by some misplaced brackets.
Reported by: das
Diffstat (limited to 'include')
-rw-r--r-- | include/xlocale/_ctype.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/xlocale/_ctype.h b/include/xlocale/_ctype.h index 481fe33..7ffa7a1 100644 --- a/include/xlocale/_ctype.h +++ b/include/xlocale/_ctype.h @@ -78,8 +78,8 @@ __maskrune_l(__ct_rune_t __c, unsigned long __f, locale_t __loc) { int __limit; _RuneLocale *runes = __runes_for_locale(__loc, &__limit); - return (__c < 0 || __c >= _CACHED_RUNES) ? ___runetype_l(__c, __loc) : - runes->__runetype[__c] & __f; + return ((__c < 0 || __c >= _CACHED_RUNES) ? ___runetype_l(__c, __loc) : + runes->__runetype[__c]) & __f; } _XLOCALE_INLINE int |