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

View file

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