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:
530ddbb
)
[serialize] Enable bias assertion
author
Behdad Esfahbod
<behdad@behdad.org>
Tue, 7 May 2019 18:06:43 +0000
(11:06 -0700)
committer
Behdad Esfahbod
<behdad@behdad.org>
Tue, 7 May 2019 18:06:43 +0000
(11:06 -0700)
src/hb-serialize.hh
patch
|
blob
|
history
diff --git
a/src/hb-serialize.hh
b/src/hb-serialize.hh
index
1a6ed21
..
4e270ce
100644
(file)
--- a/
src/hb-serialize.hh
+++ b/
src/hb-serialize.hh
@@
-292,7
+292,7
@@
struct hb_serialize_context_t
for (const object_t::link_t &link : parent->links)
{
const object_t &child = *packed[link.objidx];
-
//
assert (link.bias <= parent->tail - parent->head);
+ assert (link.bias <= parent->tail - parent->head);
unsigned offset = (child.head - parent->head) - link.bias;
if (link.is_wide)