[subset] Minor

This commit is contained in:
Behdad Esfahbod 2019-01-08 23:20:23 -08:00
parent 42bf80e578
commit ff3a7ce1e7
1 changed files with 1 additions and 1 deletions

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);
}