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; |