diff --git a/AssParser.Lib/AssParser.cs b/AssParser.Lib/AssParser.cs index b4fc1bb..ca7aa7f 100644 --- a/AssParser.Lib/AssParser.cs +++ b/AssParser.Lib/AssParser.cs @@ -186,7 +186,7 @@ public static async Task ParseAssFile(StreamReader assStream) style.Encoding = data[i]; break; default: - throw new AssParserException($"Invalid style", assStream, formatLine, AssParserErrorType.InvalidStyle); + throw new AssParserException($"Invalid style", assStream, formatLine, AssParserErrorType.InvalidStyleLine); } }