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:
2ade008
)
Minor
author
Behdad Esfahbod
<behdad@behdad.org>
Fri, 10 May 2019 23:26:19 +0000
(16:26 -0700)
committer
Behdad Esfahbod
<behdad@behdad.org>
Sat, 11 May 2019 01:43:48 +0000
(18:43 -0700)
src/hb-ot-layout-common.hh
patch
|
blob
|
history
diff --git
a/src/hb-ot-layout-common.hh
b/src/hb-ot-layout-common.hh
index
06062ea
..
40349a0
100644
(file)
--- a/
src/hb-ot-layout-common.hh
+++ b/
src/hb-ot-layout-common.hh
@@
-1224,7
+1224,7
@@
struct ClassDefFormat1
hb_codepoint_t glyph_max = +glyphs | hb_reduce (hb_max, 0u);
startGlyph = glyph_min;
- c
lassValue.len = glyph_max - glyph_min + 1
;
+ c
->check_assign (classValue.len, glyph_max - glyph_min + 1)
;
if (unlikely (!c->extend (classValue))) return_trace (false);
for (unsigned int i = 0; i < glyphs.length; i++)