mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-11-25 20:52:44 +01:00
Minor fix from xylographe :)
This commit is contained in:
parent
638a00a9b5
commit
bf9900c906
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user