summaryrefslogtreecommitdiff
path: root/src/hb-ot-kern-table.hh
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@behdad.org>2018-10-09 22:39:31 -0400
committerBehdad Esfahbod <behdad@behdad.org>2018-10-09 22:39:31 -0400
commit8bff1d2994876a5202c8605d1cc37522431c6c84 (patch)
tree8584e498eaca9a4f1d75888bdb24436e24973c1a /src/hb-ot-kern-table.hh
parent53e55945000347fb19168bb4c13a470d30d46251 (diff)
[kern] Minor
Diffstat (limited to 'src/hb-ot-kern-table.hh')
-rw-r--r--src/hb-ot-kern-table.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hb-ot-kern-table.hh b/src/hb-ot-kern-table.hh
index ee237020..04be9827 100644
--- a/src/hb-ot-kern-table.hh
+++ b/src/hb-ot-kern-table.hh
@@ -283,7 +283,7 @@ struct KernSubTableWrapper
TRACE_SANITIZE (this);
return_trace (c->check_struct (thiz()) &&
thiz()->length >= T::min_size &&
- c->check_array (thiz(), thiz()->length, 1) &&
+ c->check_range (thiz(), thiz()->length) &&
thiz()->subtable.sanitize (c, thiz()->format));
}
};