mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-07 06:25:30 +00:00
ICU-8668 add parenthesis
X-SVN-Rev: 31103
This commit is contained in:
parent
867084e6bb
commit
2a751ff4e3
2 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Add table
Reference in a new issue