mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-16 18:25:57 +00:00
ICU-2755 Fix for HP-UX
X-SVN-Rev: 11806
This commit is contained in:
parent
91ea8b908e
commit
725e9155d0
1 changed files with 5 additions and 4 deletions
|
@ -84,11 +84,12 @@ void CollationServiceTest::TestRegister()
|
|||
UnicodeString locName = fu_FU.getName();
|
||||
StringEnumeration* localeEnum = Collator::getAvailableLocales();
|
||||
UBool found = FALSE;
|
||||
for (const UnicodeString* loc = localeEnum->snext(status);
|
||||
!found && loc != NULL;
|
||||
loc = localeEnum->snext(status)) {
|
||||
const UnicodeString* locStr;
|
||||
for (locStr = localeEnum->snext(status);
|
||||
!found && locStr != NULL;
|
||||
locStr = localeEnum->snext(status)) {
|
||||
//
|
||||
if (locName == *loc) {
|
||||
if (locName == *locStr) {
|
||||
found = TRUE;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue