[cff-common] Indent
This commit is contained in:
parent
be7b2905cb
commit
c8a5f1e3c0
|
@ -86,14 +86,15 @@ struct CFFIndex
|
||||||
const byte_str_array_t &byteArray)
|
const byte_str_array_t &byteArray)
|
||||||
{
|
{
|
||||||
TRACE_SERIALIZE (this);
|
TRACE_SERIALIZE (this);
|
||||||
|
|
||||||
if (byteArray.length == 0)
|
if (byteArray.length == 0)
|
||||||
{
|
{
|
||||||
COUNT *dest = c->allocate_min<COUNT> ();
|
COUNT *dest = c->allocate_min<COUNT> ();
|
||||||
if (unlikely (!dest)) return_trace (false);
|
if (unlikely (!dest)) return_trace (false);
|
||||||
*dest = 0;
|
*dest = 0;
|
||||||
|
return_trace (true);
|
||||||
}
|
}
|
||||||
else
|
|
||||||
{
|
|
||||||
/* serialize CFFIndex header */
|
/* serialize CFFIndex header */
|
||||||
if (unlikely (!c->extend_min (this))) return_trace (false);
|
if (unlikely (!c->extend_min (this))) return_trace (false);
|
||||||
this->count = byteArray.length;
|
this->count = byteArray.length;
|
||||||
|
@ -119,7 +120,7 @@ struct CFFIndex
|
||||||
if (unlikely (!dest)) return_trace (false);
|
if (unlikely (!dest)) return_trace (false);
|
||||||
memcpy (dest, &bs[0], bs.length);
|
memcpy (dest, &bs[0], bs.length);
|
||||||
}
|
}
|
||||||
}
|
|
||||||
return_trace (true);
|
return_trace (true);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue