Fix compilation with clang

This commit is contained in:
Thomas Goyne 2013-01-11 08:44:35 -08:00
parent b337fbd691
commit bc2ddfbaee
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 ? wxEmptyString : actor;
line->Actor = isComment ? wxString() : actor;
line->Comment = isComment;
line->Text = value;
line->End = 0;