Fixed issue with importing "Unknown 53" format - darnn :)

Fix #2160
This commit is contained in:
Nikolaj Olsson 2017-01-16 20:24:33 +01:00
parent 6abaad180b
commit 7caa20e114
2 changed files with 3 additions and 1 deletions

View File

@ -16,6 +16,7 @@
* Fixed fast forward waveform scrolling with mouse wheel
* Fix in "Fix common errors" regarding de-selected fixes - thx Tronar
* Fix for MPC-HC 32-bit - thx ZoneX
* Fixed issue with importing "Unknown 53" format - darnn
3.5.1 (13th December 2016)

View File

@ -7,7 +7,7 @@ namespace Nikse.SubtitleEdit.Core.SubtitleFormats
public class UnknownSubtitle53 : SubtitleFormat
{
private static readonly Regex RegexTimeCodes = new Regex(@"^\d\d\:\d\d\:\d\d\:\d\d [^ ]+", RegexOptions.Compiled);
private static readonly Regex RegexTimeCodes = new Regex(@"^\d\d\:\d\d\:\d\d\:\d\d .+", RegexOptions.Compiled);
public override string Extension
{
@ -108,6 +108,7 @@ namespace Nikse.SubtitleEdit.Core.SubtitleFormats
index++;
}
subtitle.RemoveEmptyLines();
subtitle.Renumber();
}
}