projects
/
platform
/
upstream
/
libHarfBuzzSharp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a141d1d
)
[CBDT] Fix thinko!
author
Behdad Esfahbod
<behdad@behdad.org>
Mon, 5 Dec 2016 03:36:30 +0000
(19:36 -0800)
committer
Behdad Esfahbod
<behdad@behdad.org>
Mon, 5 Dec 2016 03:36:30 +0000
(19:36 -0800)
src/hb-ot-cbdt-table.hh
patch
|
blob
|
history
diff --git
a/src/hb-ot-cbdt-table.hh
b/src/hb-ot-cbdt-table.hh
index
3bf5794
..
7269688
100644
(file)
--- a/
src/hb-ot-cbdt-table.hh
+++ b/
src/hb-ot-cbdt-table.hh
@@
-216,7
+216,7
@@
struct IndexSubtableArray
inline bool sanitize (hb_sanitize_context_t *c, unsigned int count) const
{
TRACE_SANITIZE (this);
- if (unlikely (!c->check_array (&indexSubtablesZ, indexSubtablesZ[0].static_size,
sizeof (count)
)))
+ if (unlikely (!c->check_array (&indexSubtablesZ, indexSubtablesZ[0].static_size,
count
)))
return_trace (false);
for (unsigned int i = 0; i < count; i++)
if (unlikely (!indexSubtablesZ[i].sanitize (c, this)))