[subset] Minor

This commit is contained in:
Behdad Esfahbod committed 2019-01-20 20:12:12 -05:00
1 parent 42bf80e578
commit ff3a7ce1e7
1 file changed
+1 -1
+1 -1
View File
@@ -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);
}