diff options
author | Casimir666 <casimir666@users.sourceforge.net> | 2008-03-15 19:32:59 +0300 |
---|---|---|
committer | Casimir666 <casimir666@users.sourceforge.net> | 2008-03-15 19:32:59 +0300 |
commit | 7c168f32ef65cb43adacceb4071aa503c382ce21 (patch) | |
tree | 6c7d548f7334d7fd2b41243795be9435bb55939a /src/subtitles/STS.cpp | |
parent | d2ba083a8be746a60817ebabe40a4cc5a5524389 (diff) |
CHANGED: Report subtitle fixes from Guliverkli2
git-svn-id: https://mpc-hc.svn.sourceforge.net/svnroot/mpc-hc/trunk@464 10f7b99b-c216-0410-bff0-8a66a9350fd8
Diffstat (limited to 'src/subtitles/STS.cpp')
-rw-r--r-- | src/subtitles/STS.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/subtitles/STS.cpp b/src/subtitles/STS.cpp index 42c59e8ed..6a620e183 100644 --- a/src/subtitles/STS.cpp +++ b/src/subtitles/STS.cpp @@ -2834,9 +2834,9 @@ bool CSimpleTextSubtitle::SaveAs(CString fn, exttype et, double fps, CTextFile:: }
STSStyle* s;
- if(!m_fUsingAutoGeneratedDefaultStyle && m_styles.Lookup(_T("Default"), s) && et != EXTSSA && et != EXTASS)
+ if(!m_fUsingAutoGeneratedDefaultStyle && m_styles.Lookup(_T("Default"), s) && et != EXTSSA && et != EXTASS && et != EXTSRT)
{
-/* CTextFile f;
+ CTextFile f;
if(!f.Save(fn + _T(".style"), e))
return(false);
@@ -2866,7 +2866,7 @@ bool CSimpleTextSubtitle::SaveAs(CString fn, exttype et, double fps, CTextFile:: s->scrAlignment,
s->marginRect.left, s->marginRect.right, (s->marginRect.top + s->marginRect.bottom) / 2,
s->charSet);
- f.WriteString(str2);*/
+ f.WriteString(str2);
}
return(true);
|