Skip to content

Commit

Permalink
Fix ass_dialogue parsing after refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
arch1t3cht committed Dec 1, 2023
1 parent be18d61 commit 2e00942
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ass_dialogue.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ void AssDialogue::Parse(std::string const& raw) {
margin = mid(-9999, boost::lexical_cast<int>(tkn.next_tok()), 99999);
Effect = tkn.next_str_trim();

std::string text{tkn.next_tok()};
std::string text{tkn.next_tok().begin(), str.end()};

if (text.size() > 1 && text[0] == '{' && text[1] == '=') {
static const boost::regex extradata_test("^\\{(=\\d+)+\\}");
Expand Down

0 comments on commit 2e00942

Please sign in to comment.