Do not add 0 as symbolclass needed character

This commit is contained in:
Jindra Petřík
2022-12-03 16:05:51 +01:00
parent 9143006e84
commit 7629eb0f89

View File

@@ -142,6 +142,10 @@ public class SymbolClassTag extends SymbolClassTypeTag {
@Override
public void getNeededCharacters(Set<Integer> needed) {
needed.addAll(tags);
}
for (int t : tags) {
if (t != 0) { //main class
needed.add(t);
}
}
}
}