Fix to loading of margins

Originally committed to SVN as r717.
This commit is contained in:
Rodrigo Braz Monteiro 2007-01-05 18:33:48 +00:00
parent b3f2f069d3
commit cc81523bbe

View file

@ -186,7 +186,9 @@ bool AssDialogue::Parse(wxString rawData, bool IsSSA) {
// Get vertical margin
if (!tkn.HasMoreTokens()) return false;
SetMarginString(tkn.GetNextToken().Trim(false).Trim(true),2);
temp = tkn.GetNextToken().Trim(false).Trim(true);
SetMarginString(temp,2);
SetMarginString(temp,3);
// Get effect
if (!tkn.HasMoreTokens()) return false;