summaryrefslogtreecommitdiff
path: root/src/hb-ot-font.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/hb-ot-font.cc')
-rw-r--r--src/hb-ot-font.cc6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/hb-ot-font.cc b/src/hb-ot-font.cc
index df01bc9f..5be055d3 100644
--- a/src/hb-ot-font.cc
+++ b/src/hb-ot-font.cc
@@ -355,7 +355,11 @@ struct hb_ot_face_cmap_accelerator_t
if (!subtable) subtable = cmap->find_subtable (0, 2);
if (!subtable) subtable = cmap->find_subtable (0, 1);
if (!subtable) subtable = cmap->find_subtable (0, 0);
- if (!subtable)(subtable = cmap->find_subtable (3, 0)) && (symbol = true);
+ if (!subtable)
+ {
+ subtable = cmap->find_subtable (3, 0);
+ if (subtable) symbol = true;
+ }
/* Meh. */
if (!subtable) subtable = &OT::Null(OT::CmapSubtable);