mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-10-27 06:22:38 +01:00
Adjust duration fixed for last subtitle - thx mariner :)
This commit is contained in:
parent
0689de05a4
commit
77552eff7e
@ -17,6 +17,7 @@
|
||||
* Fixed bug regarding double line italic in format "iTunes Timed Text" - thx Ajax
|
||||
* Set video position after "Reopen" - thx vmb
|
||||
* Fix for border size in vobsub export via cmd line - thx S_E_New
|
||||
* Adjust duration fixed for last subtitle - thx mariner
|
||||
* + Many minor fixes from ivandrofly and xylographe
|
||||
|
||||
|
||||
|
@ -323,7 +323,7 @@ namespace Nikse.SubtitleEdit.Core
|
||||
{
|
||||
if (selectedIndexes == null || selectedIndexes.Contains(i))
|
||||
{
|
||||
double nextStartMilliseconds = _paragraphs[_paragraphs.Count - 1].EndTime.TotalMilliseconds + TimeCode.BaseUnit;
|
||||
double nextStartMilliseconds = double.MaxValue;
|
||||
if (i + 1 < _paragraphs.Count)
|
||||
nextStartMilliseconds = _paragraphs[i + 1].StartTime.TotalMilliseconds;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user