From 5229e319b12cef909f9bb1e75241e16f12982325 Mon Sep 17 00:00:00 2001 From: Zoe Roux Date: Sat, 19 Dec 2020 23:10:51 +0100 Subject: [PATCH] Update SubtitleApi.cs --- Kyoo/Views/API/SubtitleApi.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Kyoo/Views/API/SubtitleApi.cs b/Kyoo/Views/API/SubtitleApi.cs index 9c9ef04d..64238563 100644 --- a/Kyoo/Views/API/SubtitleApi.cs +++ b/Kyoo/Views/API/SubtitleApi.cs @@ -128,7 +128,7 @@ namespace Kyoo.Api private static IEnumerable ConvertBlock(IList lines) { - if (lines.Length < 3) + if (lines.Count < 3) return lines; lines[1] = lines[1].Replace(',', '.'); if (lines[2].Length > 5)