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

Side by Side Diff: patches/scriptset.patch

Issue 2442923002: ICU update to 58 part 2 (Closed)
Patch Set: apply more patches and updates; almost ready to roll Created 4 years, 1 month 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/remove_si.patch ('k') | patches/tzdetect.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/i18n/scriptset.cpp b/source/i18n/scriptset.cpp
2 index 5a42535..ff853b8 100644
3 --- a/source/i18n/scriptset.cpp
4 +++ b/source/i18n/scriptset.cpp
5 @@ -258,7 +258,7 @@ void ScriptSet::setScriptExtensions(UChar32 codePoint, UErro rCode& status) {
6
7 while (TRUE) {
8 script_count = uscript_getScriptExtensions(
9 - codePoint, scripts.getAlias(), FIRST_GUESS_SCRIPT_CAPACITY, &intern alStatus);
10 + codePoint, scripts.getAlias(), scripts.getCapacity(), &internalStat us);
11 if (internalStatus == U_BUFFER_OVERFLOW_ERROR) {
12 // Need to allocate more space
13 if (scripts.resize(script_count) == NULL) {
OLDNEW
« no previous file with comments | « patches/remove_si.patch ('k') | patches/tzdetect.patch » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698