mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-11-21 18:52:36 +01:00
Fix another crash in assa tag helper - thx OmrSi :)
This commit is contained in:
parent
90a8ec740b
commit
bcb6941d3b
@ -270,7 +270,7 @@ namespace Nikse.SubtitleEdit.Logic
|
||||
tb.Text = tb.Text.Remove(start, endTagIndex - start + 1);
|
||||
}
|
||||
|
||||
if (tb.Text[start] == '}')
|
||||
if (tb.Text.Length > start && tb.Text[start] == '}')
|
||||
{
|
||||
start++;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user