From e2f6a7e8b916335207e650fe212540287bcee49b Mon Sep 17 00:00:00 2001 From: theraven Date: Sun, 22 Apr 2012 16:58:14 +0000 Subject: Fix a bug caused by some misplaced brackets. Reported by: das --- include/xlocale/_ctype.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/xlocale/_ctype.h') 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 -- cgit v1.1