From d47cfe79364391bd10ceb8588f4cdb55ff6e47e8 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Tue, 22 Nov 2022 14:45:04 -0700 Subject: [PATCH] [glyf] Minor use operator ++ --- src/OT/glyf/SimpleGlyph.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/OT/glyf/SimpleGlyph.hh b/src/OT/glyf/SimpleGlyph.hh index e52068a40..9aa59c085 100644 --- a/src/OT/glyf/SimpleGlyph.hh +++ b/src/OT/glyf/SimpleGlyph.hh @@ -240,7 +240,7 @@ struct SimpleGlyph { if (flag == lastflag && repeat != 255) { - repeat = repeat + 1; + repeat++; if (repeat == 1) { flags.push(flag);