[gvar] is_valid() remove a check
I don't know why this check was there, but it doesn't make sense because that function never returns 0 / false.
This commit is contained in:
parent
e8ddf107d0
commit
be89919a70
|
@ -231,8 +231,7 @@ struct GlyphVariationData
|
||||||
return (index < var_data->tupleVarCount.get_count ()) &&
|
return (index < var_data->tupleVarCount.get_count ()) &&
|
||||||
var_data_bytes.check_range (current_tuple, TupleVariationHeader::min_size) &&
|
var_data_bytes.check_range (current_tuple, TupleVariationHeader::min_size) &&
|
||||||
var_data_bytes.check_range (current_tuple, hb_max (current_tuple->get_data_size (),
|
var_data_bytes.check_range (current_tuple, hb_max (current_tuple->get_data_size (),
|
||||||
current_tuple->get_size (axis_count))) &&
|
current_tuple->get_size (axis_count)));
|
||||||
current_tuple->get_size (axis_count);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
bool move_to_next ()
|
bool move_to_next ()
|
||||||
|
|
Loading…
Reference in New Issue