From: Behdad Esfahbod Date: Wed, 9 Jan 2019 07:20:23 +0000 (-0800) Subject: [subset] Minor X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ff3a7ce1e75b020c2d536200beb5610ed054e097;p=platform%2Fupstream%2FlibHarfBuzzSharp.git [subset] Minor --- diff --git a/src/hb-ot-layout-common.hh b/src/hb-ot-layout-common.hh index 8080385..672775b 100644 --- a/src/hb-ot-layout-common.hh +++ b/src/hb-ot-layout-common.hh @@ -1249,9 +1249,9 @@ struct ClassDefFormat1 hb_codepoint_t end = start + classValue.len; for (hb_codepoint_t g = start; g < end; g++) { + if (!glyphset.has (g)) continue; unsigned int value = classValue[g - start]; if (!value) continue; - if (!glyphset.has (g)) continue; glyphs.push()->set (glyph_map[g]); klasses.push()->set (value); }