Minor fix from xylographe :)

This commit is contained in:
Nikolaj Olsson 2016-04-07 06:32:23 +02:00
parent 638a00a9b5
commit bf9900c906

View File

@ -425,7 +425,7 @@ namespace Nikse.SubtitleEdit.Logic
}
else if (text[textIndex] == '}')
{
var startIdx = text.LastIndexOf("{\\", textIndex - 1, StringComparison.Ordinal);
var startIdx = text.LastIndexOf(@"{\", textIndex - 1, StringComparison.Ordinal);
if (startIdx >= 0 && text.IndexOf('}', startIdx + 1) == textIndex)
{
deleteFrom = startIdx;