mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-11-25 20:52:44 +01:00
Merge pull request #3540 from ivandrofly/subrip-clean
subrip: minor refact
This commit is contained in:
commit
e848c9eee6
@ -133,16 +133,13 @@ namespace Nikse.SubtitleEdit.Core.SubtitleFormats
|
||||
subtitle.Renumber();
|
||||
}
|
||||
|
||||
if (_isMsFrames)
|
||||
foreach (Paragraph p in subtitle.Paragraphs)
|
||||
{
|
||||
foreach (Paragraph p in subtitle.Paragraphs)
|
||||
if (_isMsFrames)
|
||||
{
|
||||
p.StartTime.Milliseconds = FramesToMillisecondsMax999(p.StartTime.Milliseconds);
|
||||
p.EndTime.Milliseconds = FramesToMillisecondsMax999(p.EndTime.Milliseconds);
|
||||
}
|
||||
}
|
||||
foreach (Paragraph p in subtitle.Paragraphs)
|
||||
{
|
||||
p.Text = p.Text.TrimEnd();
|
||||
}
|
||||
Errors = _errors.ToString();
|
||||
|
Loading…
Reference in New Issue
Block a user