SSA doesn't have a layer field

Originally committed to SVN as r4666.
This commit is contained in:
Thomas Goyne 2010-07-08 07:44:21 +00:00
parent 5c976dc0a0
commit 518e78ac6f
1 changed files with 2 additions and 3 deletions

View File

@ -223,10 +223,9 @@ wxString AssDialogue::GetData(bool ssa) const {
e.Replace(L",",L";"); e.Replace(L",",L";");
wxString str = wxString::Format( wxString str = wxString::Format(
L"%s: %s%01d,%s,%s,%s,%s,%d,%d,%d,%s,%s", L"%s: %s,%s,%s,%s,%s,%d,%d,%d,%s,%s",
Comment ? L"Comment" : L"Dialogue", Comment ? L"Comment" : L"Dialogue",
ssa ? L"Marked=0," : L"", ssa ? L"Marked=0" : wxString::Format("%01d", Layer).c_str(),
Layer,
Start.GetASSFormated().c_str(), Start.GetASSFormated().c_str(),
End.GetASSFormated().c_str(), End.GetASSFormated().c_str(),
s.c_str(), a.c_str(), s.c_str(), a.c_str(),