Rename check_array2() to check_array()
This commit is contained in:
parent
e014405a21
commit
274f4c726f
|
@ -267,7 +267,7 @@ struct KerxSubTableFormat1
|
|||
unsigned int kern_idx = Format1EntryT::kernActionIndex (entry);
|
||||
kern_idx = Types::offsetToIndex (kern_idx, &table->machine, kernAction.arrayZ);
|
||||
const FWORD *actions = &kernAction[kern_idx];
|
||||
if (!c->sanitizer.check_array2 (actions, depth, tuple_count))
|
||||
if (!c->sanitizer.check_array (actions, depth, tuple_count))
|
||||
{
|
||||
depth = 0;
|
||||
return false;
|
||||
|
|
|
@ -343,11 +343,11 @@ struct hb_sanitize_context_t :
|
|||
}
|
||||
|
||||
template <typename T>
|
||||
inline bool check_array2 (const T *base,
|
||||
inline bool check_array (const T *base,
|
||||
unsigned int a,
|
||||
unsigned int b) const
|
||||
{
|
||||
return this->check_range (base, a * b, T::static_size);
|
||||
return this->check_range (base, a, b, T::static_size);
|
||||
}
|
||||
|
||||
template <typename Type>
|
||||
|
|
Loading…
Reference in New Issue