Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 22 Apr 2012 16:58:14 +0000 (UTC)
From:      David Chisnall <theraven@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r234573 - head/include/xlocale
Message-ID:  <201204221658.q3MGwETN048536@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: theraven
Date: Sun Apr 22 16:58:14 2012
New Revision: 234573
URL: http://svn.freebsd.org/changeset/base/234573

Log:
  Fix a bug caused by some misplaced brackets.
  
  Reported by:	das

Modified:
  head/include/xlocale/_ctype.h

Modified: head/include/xlocale/_ctype.h
==============================================================================
--- head/include/xlocale/_ctype.h	Sun Apr 22 16:13:23 2012	(r234572)
+++ head/include/xlocale/_ctype.h	Sun Apr 22 16:58:14 2012	(r234573)
@@ -78,8 +78,8 @@ __maskrune_l(__ct_rune_t __c, unsigned l
 {
 	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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201204221658.q3MGwETN048536>