[cmap] Fix CodeXL warning

Fixes https://github.com/harfbuzz/harfbuzz/issues/5753
This commit is contained in:
Behdad Esfahbod committed 2026-02-23 18:44:50 -03:00
1 parent 742f79da08
commit 1350d2a470
1 file changed
+1 -1
+1 -1
View File
@@ -1658,7 +1658,7 @@ struct EncodingRecord
CmapSubtable *cmapsubtable = c->push<CmapSubtable> ();
unsigned origin_length = c->length ();
cmapsubtable->serialize (c, it, format, plan, &(base+subtable));
if (c->length () - origin_length > 0 && !c->in_error()) *objidx = c->pop_pack ();
if (c->length () > origin_length && !c->in_error()) *objidx = c->pop_pack ();
else c->pop_discard ();
}