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;
|
||||
}
|
||||
|
||||
wxString field = curEntry->GetEntryData().Left(curEntry->GetEntryData().Find(_T(':')));
|
||||
if (field != _T("ScriptType") &&
|
||||
field != _T("Collisions") &&
|
||||
field != _T("PlayResX") &&
|
||||
field != _T("PlayResY") &&
|
||||
field != _T("WrapStyle")) {
|
||||
wxString field = curEntry->GetEntryData().Left(curEntry->GetEntryData().Find(_T(':'))).Lower();
|
||||
if (field != _T("scripttype") &&
|
||||
field != _T("collisions") &&
|
||||
field != _T("playresx") &&
|
||||
field != _T("playresy") &&
|
||||
field != _T("wrapstyle") &&
|
||||
field != _T("scaledborderandshadow")) {
|
||||
delete curEntry;
|
||||
subs->Line.erase(cur);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue