Call ->next() directly

This commit is contained in:
Behdad Esfahbod 2022-11-24 14:51:52 -07:00
parent 03d64b7469
commit 196c9db06f
1 changed files with 1 additions and 1 deletions

View File

@ -1958,7 +1958,7 @@ struct ClassDefFormat2_4
unsigned end = rangeRecord[i].last + 1; unsigned end = rangeRecord[i].last + 1;
for (hb_codepoint_t g = rangeRecord[i].first - 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); intersect_glyphs->add (g);
} }
} }