From: Behdad Esfahbod Date: Tue, 2 Apr 2019 04:36:03 +0000 (-0700) Subject: [serialize] Fix linking X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f0ea3ac17bef98409d302b9f285e94015e069823;p=platform%2Fupstream%2FlibHarfBuzzSharp.git [serialize] Fix linking --- diff --git a/src/hb-serialize.hh b/src/hb-serialize.hh index 0bd9f03..a0b9228 100644 --- 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 *) (parent.head + offset)); + auto &off = * ((BEInt *) (parent.head + link.position)); off = offset; propagate_error (off == offset); } else { - auto &off = * ((BEInt *) (parent.head + offset)); + auto &off = * ((BEInt *) (parent.head + link.position)); off = offset; propagate_error (off == offset); }