Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(10)

Unified Diff: source/i18n/rbt_data.cpp

Issue 1621843002: ICU 56 update step 1 (Closed) Base URL: https://chromium.googlesource.com/chromium/deps/icu.git@561
Patch Set: Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « source/i18n/rbt.cpp ('k') | source/i18n/rbt_pars.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: source/i18n/rbt_data.cpp
diff --git a/source/i18n/rbt_data.cpp b/source/i18n/rbt_data.cpp
index cb949e541e242081ae0d00aa96fb06966aa0898a..e3358bfa725db02a00842437fc1c1b59c79ba7da 100644
--- a/source/i18n/rbt_data.cpp
+++ b/source/i18n/rbt_data.cpp
@@ -42,7 +42,7 @@ TransliterationRuleData::TransliterationRuleData(const TransliterationRuleData&
UErrorCode status = U_ZERO_ERROR;
int32_t i = 0;
variableNames.setValueDeleter(uprv_deleteUObject);
- int32_t pos = -1;
+ int32_t pos = UHASH_FIRST;
const UHashElement *e;
while ((e = other.variableNames.nextElement(pos)) != 0) {
UnicodeString* value =
« no previous file with comments | « source/i18n/rbt.cpp ('k') | source/i18n/rbt_pars.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698