Minor
This commit is contained in:
parent
f7e81ce0b8
commit
1b38b4e817
|
@ -75,7 +75,7 @@ struct SingleSubstFormat1
|
||||||
inline bool serialize (hb_serialize_context_t *c,
|
inline bool serialize (hb_serialize_context_t *c,
|
||||||
const USHORT *glyphs,
|
const USHORT *glyphs,
|
||||||
unsigned int num_glyphs,
|
unsigned int num_glyphs,
|
||||||
unsigned int delta)
|
int delta)
|
||||||
{
|
{
|
||||||
TRACE_SERIALIZE ();
|
TRACE_SERIALIZE ();
|
||||||
if (unlikely (!c->extend_min (*this))) return TRACE_RETURN (false);
|
if (unlikely (!c->extend_min (*this))) return TRACE_RETURN (false);
|
||||||
|
@ -208,7 +208,7 @@ struct SingleSubst
|
||||||
TRACE_SERIALIZE ();
|
TRACE_SERIALIZE ();
|
||||||
if (unlikely (!c->extend_min (u.format))) return TRACE_RETURN (false);
|
if (unlikely (!c->extend_min (u.format))) return TRACE_RETURN (false);
|
||||||
unsigned int format = 2;
|
unsigned int format = 2;
|
||||||
unsigned int delta;
|
int delta;
|
||||||
if (num_glyphs) {
|
if (num_glyphs) {
|
||||||
format = 1;
|
format = 1;
|
||||||
/* TODO(serialize) check for wrap-around */
|
/* TODO(serialize) check for wrap-around */
|
||||||
|
|
Loading…
Reference in New Issue