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

Side by Side Diff: patches/uloc.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/ucnv_refcount.patch ('k') | patches/woverloaded-virtual.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/uloc.cpp b/source/common/uloc.cpp
2 index 88a221c..ae5cdde 100644
3 --- a/source/common/uloc.cpp
4 +++ b/source/common/uloc.cpp
5 @@ -694,7 +694,7 @@ _getKeywords(const char *localeID,
6 }
7
8 /* Premature end or zero-length value */
9 - if (!equalSign || equalSign == semicolon) {
10 + if (!*equalSign || equalSign == semicolon) {
11 *status = U_INVALID_FORMAT_ERROR;
12 return 0;
13 }
OLDNEW
« no previous file with comments | « patches/ucnv_refcount.patch ('k') | patches/woverloaded-virtual.patch » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698