mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-10-28 06:52:35 +01:00
Use fixed size for list
This commit is contained in:
parent
e5739135cf
commit
392e9f3d1f
@ -73,7 +73,7 @@ namespace Nikse.SubtitleEdit.Forms
|
||||
int count = 0;
|
||||
_fixedSubtitle = new Subtitle(_subtitle);
|
||||
_dic = new Dictionary<Paragraph, string>();
|
||||
var fixedIndexes = new List<int>();
|
||||
var fixedIndexes = new List<int>(_fixedSubtitle.Paragraphs.Count);
|
||||
|
||||
int minMsBetweenLines = (int)numericUpDownMinMsBetweenLines.Value;
|
||||
for (int i = 0; i < _fixedSubtitle.Paragraphs.Count - 1; i++)
|
||||
|
Loading…
Reference in New Issue
Block a user