mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-20 14:31:10 +01:00
[serialize] Minor
This commit is contained in:
1 parent
e42b82c828
commit
aa2293a55e
1 file changed
+5
-5
+5
-5
@@ -287,16 +287,16 @@ struct OffsetTo : Offset<OffsetType, has_null>
|
||||
if (has_null && &src == &Null (T))
|
||||
return false;
|
||||
|
||||
c->serializer->push ();
|
||||
auto *s = c->serializer;
|
||||
|
||||
s->push ();
|
||||
|
||||
bool ret = src.subset (c);
|
||||
|
||||
if (ret || !has_null)
|
||||
c->serializer->add_link (*this,
|
||||
c->serializer->pop_pack (),
|
||||
base);
|
||||
s->add_link (*this, s->pop_pack (), base);
|
||||
else
|
||||
c->serializer->pop_discard ();
|
||||
s->pop_discard ();
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user