diff options
author | Qunxin Liu <qxliu@google.com> | 2024-05-03 14:52:53 -0700 |
---|---|---|
committer | Behdad Esfahbod <behdad@behdad.org> | 2024-05-03 17:22:16 -0500 |
commit | 625a9a963ac4dc885e72fb68ee51cbe07c4fd76b (patch) | |
tree | 318069b36c0ab8840cac161a7efc0f175b8ef04c | |
parent | ebcdadbf546dc7a067bb18f1fa232c4871faf943 (diff) | |
download | harfbuzz_ng-upstream-main.tar.gz |
[instancer] use correct constant for No VARIATIONS indexupstream-main
-rw-r--r-- | src/hb-ot-layout-base-table.hh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hb-ot-layout-base-table.hh b/src/hb-ot-layout-base-table.hh index 98ab2c6a3..56290905c 100644 --- a/src/hb-ot-layout-base-table.hh +++ b/src/hb-ot-layout-base-table.hh @@ -128,7 +128,7 @@ struct BaseCoordFormat3 if (!c->plan->pinned_at_default) { unsigned var_idx = (this+deviceTable).get_variation_index (); - if (var_idx != HB_OT_LAYOUT_NO_VARIATIONS_INDEX) + if (var_idx != VarIdx::NO_VARIATION) { hb_pair_t<unsigned, int> *v; if (!c->plan->base_variation_idx_map.has (var_idx, &v)) |