This commit is contained in:
Ebrahim Byagowi 2020-03-26 12:01:53 +04:30
parent cc977b6e5c
commit 071e2e345f
2 changed files with 4 additions and 4 deletions

View File

@ -3056,7 +3056,7 @@ struct GSUBGPOS
#ifdef HB_NO_VAR
return false;
#endif
return (version.to_int () >= 0x00010001u ? this+featureVars : Null(FeatureVariations))
return (version.to_int () >= 0x00010001u ? this+featureVars : Null (FeatureVariations))
.find_index (coords, num_coords, index);
}
const Feature& get_feature_variation (unsigned int feature_index,

View File

@ -37,9 +37,9 @@ struct hb_ot_shape_plan_key_t
{
unsigned int variations_index[2];
void init (hb_face_t *face,
const int *coords,
unsigned int num_coords)
void init (hb_face_t *face,
const int *coords,
unsigned num_coords)
{
for (unsigned int table_index = 0; table_index < 2; table_index++)
hb_ot_layout_table_find_feature_variations (face,