From: Behdad Esfahbod Date: Fri, 10 May 2019 23:26:19 +0000 (-0700) Subject: Minor X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a27a31b9ee2601a05575cb581dc227caa73742c4;p=platform%2Fupstream%2FlibHarfBuzzSharp.git Minor --- diff --git a/src/hb-ot-layout-common.hh b/src/hb-ot-layout-common.hh index 06062ea..40349a0 100644 --- a/src/hb-ot-layout-common.hh +++ b/src/hb-ot-layout-common.hh @@ -1224,7 +1224,7 @@ struct ClassDefFormat1 hb_codepoint_t glyph_max = +glyphs | hb_reduce (hb_max, 0u); startGlyph = glyph_min; - classValue.len = glyph_max - glyph_min + 1; + c->check_assign (classValue.len, glyph_max - glyph_min + 1); if (unlikely (!c->extend (classValue))) return_trace (false); for (unsigned int i = 0; i < glyphs.length; i++)