[cff-common] Indent

This commit is contained in:
Behdad Esfahbod 2022-05-09 15:49:47 -06:00
parent be7b2905cb
commit c8a5f1e3c0
1 changed files with 26 additions and 25 deletions

View File

@ -86,14 +86,15 @@ struct CFFIndex
const byte_str_array_t &byteArray)
{
TRACE_SERIALIZE (this);
if (byteArray.length == 0)
{
COUNT *dest = c->allocate_min<COUNT> ();
if (unlikely (!dest)) return_trace (false);
*dest = 0;
return_trace (true);
}
else
{
/* serialize CFFIndex header */
if (unlikely (!c->extend_min (this))) return_trace (false);
this->count = byteArray.length;
@ -119,7 +120,7 @@ struct CFFIndex
if (unlikely (!dest)) return_trace (false);
memcpy (dest, &bs[0], bs.length);
}
}
return_trace (true);
}