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

Unified Diff: third_party/harfbuzz/contrib/harfbuzz-unicode.c

Issue 8895014: Fix two truncation bugs in harfbuzz-indic shaper. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years 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 | « third_party/harfbuzz/chromium.patch ('k') | third_party/harfbuzz/src/harfbuzz-indic.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/harfbuzz/contrib/harfbuzz-unicode.c
===================================================================
--- third_party/harfbuzz/contrib/harfbuzz-unicode.c (revision 113251)
+++ third_party/harfbuzz/contrib/harfbuzz-unicode.c (working copy)
@@ -114,7 +114,7 @@
const HB_Script script = code_point_to_script(cp);
if (script != current_script) {
- if (current_script == init_script == HB_Script_Inherited) {
+ if (current_script == HB_Script_Inherited && init_script == HB_Script_Inherited) {
// If we started off as inherited, we take whatever we can find.
output->script = script;
current_script = script;
« no previous file with comments | « third_party/harfbuzz/chromium.patch ('k') | third_party/harfbuzz/src/harfbuzz-indic.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698