From 196c9db06fc627a4709886e49ff0823dba3bbdbc Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Thu, 24 Nov 2022 14:51:52 -0700 Subject: [PATCH] Call ->next() directly --- src/hb-ot-layout-common.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hb-ot-layout-common.hh b/src/hb-ot-layout-common.hh index 1a40dac3c..1d6ba7c8b 100644 --- a/src/hb-ot-layout-common.hh +++ b/src/hb-ot-layout-common.hh @@ -1958,7 +1958,7 @@ struct ClassDefFormat2_4 unsigned end = rangeRecord[i].last + 1; for (hb_codepoint_t g = rangeRecord[i].first - 1; - hb_set_next (glyphs, &g) && g < end;) + glyphs->next (&g) && g < end;) intersect_glyphs->add (g); } }