Skip to content

Commit

Permalink
afs.core: not check comment lines’ styles
Browse files Browse the repository at this point in the history
  • Loading branch information
MIRIMIRIM committed Aug 5, 2024
1 parent 3fdd7ce commit 306041a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion AssFontSubset.Core/src/AssFont.cs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public static Dictionary<AssFontInfo, List<Rune>> GetAssFonts(string file, out A
var undefinedStyles = new HashSet<string>();
foreach (var und in undefinedStylesTemp)
{
var usedUndStylesEvents = ass.Events.Collection.Where(e => e.Style == und);
var usedUndStylesEvents = ass.Events.Collection.Where(e => e.Style == und && e.IsDialogue);
var notUsed = true;
foreach (var evt in usedUndStylesEvents)
{
Expand Down

0 comments on commit 306041a

Please sign in to comment.