Copy the source line's group in AssDialogue's copy constructor as copying wxStrings is far faster than constructing new ones

Originally committed to SVN as r6409.
This commit is contained in:
Thomas Goyne 2012-02-01 00:47:49 +00:00
parent a7d54f3d69
commit 3af57cdbcd
1 changed files with 1 additions and 1 deletions

View File

@ -60,7 +60,7 @@ AssDialogue::AssDialogue()
} }
AssDialogue::AssDialogue(AssDialogue const& that) AssDialogue::AssDialogue(AssDialogue const& that)
: AssEntry(wxString(), "[Events]") : AssEntry(wxString(), that.group)
, Comment(that.Comment) , Comment(that.Comment)
, Layer(that.Layer) , Layer(that.Layer)
, Start(that.Start) , Start(that.Start)