Actually set the actor when reading from txt files

Originally committed to SVN as r6956.
This commit is contained in:
Thomas Goyne 2012-08-18 03:13:31 +00:00
parent d132364025
commit b265d1fa0e
1 changed files with 1 additions and 1 deletions

View File

@ -117,7 +117,7 @@ void TXTSubtitleFormat::ReadFile(AssFile *target, wxString const& filename, wxSt
// Sets line up
AssDialogue *line = new AssDialogue;
line->Actor = isComment ? "" : line->Actor;
line->Actor = isComment ? "" : actor;
line->Comment = isComment;
line->Text = value;
line->End = 0;