From 9cc4f3c73ad96402c39f33cf0f7508d05efd6f42 Mon Sep 17 00:00:00 2001 From: Nikolaj Olsson Date: Mon, 29 Sep 2014 17:04:11 +0200 Subject: [PATCH] Fix for format UnknownSubtitle60 --- src/Logic/SubtitleFormats/UnknownSubtitle60.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/Logic/SubtitleFormats/UnknownSubtitle60.cs b/src/Logic/SubtitleFormats/UnknownSubtitle60.cs index 6760549d5..30b99c79f 100644 --- a/src/Logic/SubtitleFormats/UnknownSubtitle60.cs +++ b/src/Logic/SubtitleFormats/UnknownSubtitle60.cs @@ -84,7 +84,11 @@ namespace Nikse.SubtitleEdit.Logic.SubtitleFormats if (match.Success && s.Length == 11) { if (p.StartTime.TotalMilliseconds > 0) + { subtitle.Paragraphs.Add(p); + if (string.IsNullOrEmpty(p.Text)) + _errorCount++; + } p = new Paragraph(); string[] parts = s.Split(':');