summaryrefslogtreecommitdiff
path: root/src/hb-open-type.hh
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@behdad.org>2018-11-12 14:23:31 -0500
committerBehdad Esfahbod <behdad@behdad.org>2018-11-12 14:23:31 -0500
commite014405a214bceff3a1ce80f0b98273c44078e82 (patch)
tree3ea07fbe31fa6f4eaf70da422da109a255016a1b /src/hb-open-type.hh
parentc8f4cc49272d8bcd47706a6306a625d724349f5a (diff)
Rename check_array(array, a, b) to check_range()
Diffstat (limited to 'src/hb-open-type.hh')
-rw-r--r--src/hb-open-type.hh4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/hb-open-type.hh b/src/hb-open-type.hh
index 14506180..3f8e2c08 100644
--- a/src/hb-open-type.hh
+++ b/src/hb-open-type.hh
@@ -887,7 +887,9 @@ struct VarSizedBinSearchArrayOf
TRACE_SANITIZE (this);
return_trace (header.sanitize (c) &&
Type::static_size <= header.unitSize &&
- c->check_array (bytesZ.arrayZ, header.nUnits, header.unitSize));
+ c->check_range (bytesZ.arrayZ,
+ header.nUnits,
+ header.unitSize));
}
protected: