mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-16 10:17:23 +00:00
ICU-8668 add more parentheses, avoid warnings
X-SVN-Rev: 31105
This commit is contained in:
parent
d768d1b23c
commit
68aa38ad35
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