From f5b82846336fd01e6ef613c8bd0cf5456da2db35 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Sun, 4 Jun 2023 15:10:08 -0600 Subject: [PATCH] [subset/cff1] Minor use hb_len --- src/hb-ot-cff-common.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hb-ot-cff-common.hh b/src/hb-ot-cff-common.hh index c52561d55..a6c4ece52 100644 --- a/src/hb-ot-cff-common.hh +++ b/src/hb-ot-cff-common.hh @@ -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 (1, false); if (unlikely (!ret)) return_trace (false);