mirror of https://github.com/odrling/Aegisub
Fixed issue #674, related to ScaledBorderAndShadow being erased by Clean Script Info
Originally committed to SVN as r1922.
This commit is contained in:
parent
853fbfaebd
commit
3327fc0154
|
@ -83,12 +83,13 @@ void AssTransformCleanInfoFilter::ProcessSubs(AssFile *subs, wxWindow *export_di
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
wxString field = curEntry->GetEntryData().Left(curEntry->GetEntryData().Find(_T(':')));
|
wxString field = curEntry->GetEntryData().Left(curEntry->GetEntryData().Find(_T(':'))).Lower();
|
||||||
if (field != _T("ScriptType") &&
|
if (field != _T("scripttype") &&
|
||||||
field != _T("Collisions") &&
|
field != _T("collisions") &&
|
||||||
field != _T("PlayResX") &&
|
field != _T("playresx") &&
|
||||||
field != _T("PlayResY") &&
|
field != _T("playresy") &&
|
||||||
field != _T("WrapStyle")) {
|
field != _T("wrapstyle") &&
|
||||||
|
field != _T("scaledborderandshadow")) {
|
||||||
delete curEntry;
|
delete curEntry;
|
||||||
subs->Line.erase(cur);
|
subs->Line.erase(cur);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue