diff options
author | Casimir666 <casimir666@users.sourceforge.net> | 2006-12-10 13:54:46 +0300 |
---|---|---|
committer | Casimir666 <casimir666@users.sourceforge.net> | 2006-12-10 13:54:46 +0300 |
commit | ea6b4a18507a1f287198b963077c2b20991d10fc (patch) | |
tree | 6c36615209ed42cb5c4156e692d75f211620c74f /src/subtitles/STS.cpp | |
parent | d65f03c8c07b189357363f21e88a2f114ce970e7 (diff) |
git-svn-id: https://mpc-hc.svn.sourceforge.net/svnroot/mpc-hc/trunk@25 10f7b99b-c216-0410-bff0-8a66a9350fd8
Diffstat (limited to 'src/subtitles/STS.cpp')
-rw-r--r-- | src/subtitles/STS.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/subtitles/STS.cpp b/src/subtitles/STS.cpp index 80425e11f..ec6f4aa3f 100644 --- a/src/subtitles/STS.cpp +++ b/src/subtitles/STS.cpp @@ -447,6 +447,8 @@ static CStringW MBCSSSAToUnicode(CStringW str, int CharSet) CStringW RemoveSSATags(CStringW str, bool fUnicode, int CharSet)
{
+ str.Replace (L"{\\i1}", L"<i>"); // Casimir666 : tag <i> supported in SRT files!
+
for(int i = 0, j; i < str.GetLength(); )
{
if((i = FindChar(str, '{', i, fUnicode, CharSet)) < 0) break;
|