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:
00ea66f
)
Minor. We should never get to this branch, but fix it anyway.
author
Behdad Esfahbod
<behdad@behdad.org>
Sat, 9 Apr 2016 06:46:55 +0000
(23:46 -0700)
committer
Behdad Esfahbod
<behdad@behdad.org>
Sat, 9 Apr 2016 06:46:55 +0000
(23:46 -0700)
src/hb-ot-layout-common-private.hh
patch
|
blob
|
history
diff --git
a/src/hb-ot-layout-common-private.hh
b/src/hb-ot-layout-common-private.hh
index
6c7bac0
..
34fa1b7
100644
(file)
--- a/
src/hb-ot-layout-common-private.hh
+++ b/
src/hb-ot-layout-common-private.hh
@@
-770,7
+770,11
@@
struct CoverageFormat2
TRACE_SERIALIZE (this);
if (unlikely (!c->extend_min (*this))) return_trace (false);
- if (unlikely (!num_glyphs)) return_trace (true);
+ if (unlikely (!num_glyphs))
+ {
+ rangeRecord.len.set (0);
+ return_trace (true);
+ }
unsigned int num_ranges = 1;
for (unsigned int i = 1; i < num_glyphs; i++)