mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-14 17:24:01 +00:00
ICU-13823 Mreged #13816 ICU4C Windows build issue fix (r41504) to maint-62 for 62.1 GA.
X-SVN-Rev: 41532
This commit is contained in:
parent
62395ea147
commit
9be9ef04ad
2 changed files with 4 additions and 2 deletions
|
@ -385,7 +385,8 @@ UnicodeString Win32DateFormat::setTimeZoneInfo(TIME_ZONE_INFORMATION *tzi, const
|
|||
for (int z = 0; z < ec; z += 1) {
|
||||
UnicodeString equiv = TimeZone::getEquivalentID(icuid, z);
|
||||
|
||||
if (found = uprv_getWindowsTimeZoneInfo(tzi, equiv.getBuffer(), equiv.length())) {
|
||||
found = uprv_getWindowsTimeZoneInfo(tzi, equiv.getBuffer(), equiv.length());
|
||||
if (found) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -88,7 +88,8 @@ void Win32DateTimeTest::testLocales(DateFormatTest *log)
|
|||
for (int z = 0; z < ec; z += 1) {
|
||||
UnicodeString equiv = TimeZone::getEquivalentID(zoneID, z);
|
||||
|
||||
if (found = uprv_getWindowsTimeZoneInfo(&tzi, equiv.getBuffer(), equiv.length())) {
|
||||
found = uprv_getWindowsTimeZoneInfo(&tzi, equiv.getBuffer(), equiv.length());
|
||||
if (found) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue