From 5d74b42b9e3e2a591071d196d9d2b2dd537a496b Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Thu, 20 Apr 2023 17:15:57 -0600 Subject: [PATCH] [glyf] Change variable name --- src/OT/glyf/SubsetGlyph.hh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/OT/glyf/SubsetGlyph.hh b/src/OT/glyf/SubsetGlyph.hh index 1c1287ba4..d59ae6c5c 100644 --- a/src/OT/glyf/SubsetGlyph.hh +++ b/src/OT/glyf/SubsetGlyph.hh @@ -55,17 +55,17 @@ struct SubsetGlyph } #ifndef HB_NO_BEYOND_64K - auto _ = Glyph (dest_glyph).get_composite_iterator (); - if (_) + auto it = Glyph (dest_glyph).get_composite_iterator (); + if (it) { /* lower GID24 to GID16 in components if possible. */ - char *p = _ ? (char *) &*_ : nullptr; + char *p = it ? (char *) &*it : nullptr; char *q = p; const char *end = dest_glyph.arrayZ + dest_glyph.length; - while (_) + while (it) { - auto &rec = const_cast (*_); - ++_; + auto &rec = const_cast (*it); + ++it; q += rec.get_size ();