ICU-8668 add parenthesis

X-SVN-Rev: 31103
This commit is contained in:
Steven R. Loomis 2011-12-12 23:35:07 +00:00
parent 867084e6bb
commit 2a751ff4e3
2 changed files with 2 additions and 2 deletions

View file

@ -510,7 +510,7 @@ Locale::operator==( const Locale& other) const
return (uprv_strcmp(other.fullName, fullName) == 0);
}
#define ISASCIIALPHA(c) ((c) >= 'a' && (c) <= 'z' || (c) >= 'A' && (c) <= 'Z')
#define ISASCIIALPHA(c) (((c) >= 'a' && (c) <= 'z' || (c) >= 'A' && (c) <= 'Z'))
/*This function initializes a Locale from a C locale ID*/
Locale& Locale::init(const char* localeID, UBool canonicalize)

View file

@ -1248,7 +1248,7 @@ ulocimp_getLanguage(const char *localeID,
return i;
}
#define ISASCIIALPHA(c) ((c) >= 'a' && (c) <= 'z' || (c) >= 'A' && (c) <= 'Z')
#define ISASCIIALPHA(c) (((c) >= 'a' && (c) <= 'z' || (c) >= 'A' && (c) <= 'Z'))
U_CFUNC int32_t
ulocimp_getScript(const char *localeID,