[subset/cff1] Minor use hb_len

This commit is contained in:
Behdad Esfahbod committed 2023-06-04 15:10:08 -06:00
1 parent 7063817071
commit f5b8284633
1 file changed
+1 -1
+1 -1
View File
@@ -83,7 +83,7 @@ struct CFFIndex
for (const auto &_ : +it)
{
auto it = hb_iter (_);
if (it.length == 1)
if (hb_len (it) == 1)
{
char *ret = c->allocate_size<char> (1, false);
if (unlikely (!ret)) return_trace (false);