Fix a bug caused by some misplaced brackets.

Reported by:	das
This commit is contained in:
David Chisnall 2012-04-22 16:58:14 +00:00
parent c2508034a2
commit e36c7d52b3
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=234573

View File

@ -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