mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-22 15:31:05 +01:00
[susbet/cff] Minor remove one indirection
This commit is contained in:
1 parent
41369b6617
commit
138461beb4
1 file changed
+3
-4
@@ -74,16 +74,15 @@ struct CFFIndex
|
||||
if (unlikely (!ret)) return_trace (false);
|
||||
for (const auto &_ : +it)
|
||||
{
|
||||
auto it = hb_iter (_);
|
||||
unsigned len = hb_len (it);
|
||||
unsigned len = _.length;
|
||||
if (len <= 1)
|
||||
{
|
||||
if (!len)
|
||||
continue;
|
||||
*ret++ = *it.arrayZ;
|
||||
*ret++ = *_.arrayZ;
|
||||
continue;
|
||||
}
|
||||
hb_memcpy (ret, it.arrayZ, len);
|
||||
hb_memcpy (ret, _.arrayZ, len);
|
||||
ret += len;
|
||||
}
|
||||
return_trace (true);
|
||||
|
||||
Reference in new issue
Block a user