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:
7c0e205
)
[serialize] Fix linking
author
Behdad Esfahbod
<behdad@behdad.org>
Tue, 2 Apr 2019 04:36:03 +0000
(21:36 -0700)
committer
Behdad Esfahbod
<behdad@behdad.org>
Tue, 2 Apr 2019 04:36:03 +0000
(21:36 -0700)
src/hb-serialize.hh
patch
|
blob
|
history
diff --git
a/src/hb-serialize.hh
b/src/hb-serialize.hh
index
0bd9f03
..
a0b9228
100644
(file)
--- a/
src/hb-serialize.hh
+++ b/
src/hb-serialize.hh
@@
-260,13
+260,13
@@
struct hb_serialize_context_t
if (link.is_wide)
{
- auto &off = * ((BEInt<uint32_t, 4> *) (parent.head +
offset
));
+ auto &off = * ((BEInt<uint32_t, 4> *) (parent.head +
link.position
));
off = offset;
propagate_error (off == offset);
}
else
{
- auto &off = * ((BEInt<uint16_t, 2> *) (parent.head +
offset
));
+ auto &off = * ((BEInt<uint16_t, 2> *) (parent.head +
link.position
));
off = offset;
propagate_error (off == offset);
}