[glyf] Change variable name

This commit is contained in:
Behdad Esfahbod 2023-04-20 17:15:57 -06:00
parent c997e490c7
commit 5d74b42b9e
1 changed files with 6 additions and 6 deletions

View File

@ -55,17 +55,17 @@ struct SubsetGlyph
} }
#ifndef HB_NO_BEYOND_64K #ifndef HB_NO_BEYOND_64K
auto _ = Glyph (dest_glyph).get_composite_iterator (); auto it = Glyph (dest_glyph).get_composite_iterator ();
if (_) if (it)
{ {
/* lower GID24 to GID16 in components if possible. */ /* lower GID24 to GID16 in components if possible. */
char *p = _ ? (char *) &*_ : nullptr; char *p = it ? (char *) &*it : nullptr;
char *q = p; char *q = p;
const char *end = dest_glyph.arrayZ + dest_glyph.length; const char *end = dest_glyph.arrayZ + dest_glyph.length;
while (_) while (it)
{ {
auto &rec = const_cast<CompositeGlyphRecord &> (*_); auto &rec = const_cast<CompositeGlyphRecord &> (*it);
++_; ++it;
q += rec.get_size (); q += rec.get_size ();