mirror of
https://github.com/harfbuzz/harfbuzz.git
synced 2025-04-06 22:15:04 +00:00
[instancer] use correct constant for No VARIATIONS index
This commit is contained in:
parent
ebcdadbf54
commit
625a9a963a
1 changed files with 1 additions and 1 deletions
|
@ -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))
|
||||
|
|
Loading…
Add table
Reference in a new issue