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

Side by Side Diff: patches/ucnv_name.patch

Issue 1621943002: ICU 56 step 4: Apply post-56 fixes for measure/date format (Closed) Base URL: https://chromium.googlesource.com/chromium/deps/icu.git@56goog
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 unified diff | Download patch
« no previous file with comments | « patches/tzdetect2.patch ('k') | patches/ucnv_refcount.patch » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 diff --git a/source/common/ucnv_io.cpp b/source/common/ucnv_io.cpp
2 index 5dd35d8..4424664 100644
3 --- a/source/common/ucnv_io.cpp
4 +++ b/source/common/ucnv_io.cpp
5 @@ -744,7 +744,7 @@ ucnv_io_getConverterName(const char *alias, UBool *containsO ption, UErrorCode *p
6 * the name begins with 'x-'. If it does, strip it off and try
7 * again. This behaviour is similar to how ICU4J does it.
8 */
9 - if (aliasTmp[0] == 'x' || aliasTmp[1] == '-') {
10 + if (aliasTmp[0] == 'x' && aliasTmp[1] == '-') {
11 aliasTmp = aliasTmp+2;
12 } else {
13 break;
OLDNEW
« no previous file with comments | « patches/tzdetect2.patch ('k') | patches/ucnv_refcount.patch » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698