mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-25 17:01:17 +01:00
Minor
This commit is contained in:
1 parent
f7e81ce0b8
commit
1b38b4e817
1 file changed
+2
-2
@@ -75,7 +75,7 @@ struct SingleSubstFormat1
|
||||
inline bool serialize (hb_serialize_context_t *c,
|
||||
const USHORT *glyphs,
|
||||
unsigned int num_glyphs,
|
||||
unsigned int delta)
|
||||
int delta)
|
||||
{
|
||||
TRACE_SERIALIZE ();
|
||||
if (unlikely (!c->extend_min (*this))) return TRACE_RETURN (false);
|
||||
@@ -208,7 +208,7 @@ struct SingleSubst
|
||||
TRACE_SERIALIZE ();
|
||||
if (unlikely (!c->extend_min (u.format))) return TRACE_RETURN (false);
|
||||
unsigned int format = 2;
|
||||
unsigned int delta;
|
||||
int delta;
|
||||
if (num_glyphs) {
|
||||
format = 1;
|
||||
/* TODO(serialize) check for wrap-around */
|
||||
|
||||
Reference in new issue
Block a user