Commit: 9e5dd364a391ad57412f2de2f2f155505d87b55c Parent: af512fffa3fe168dec529862a491a314cd7ed5cc Author: Ren Tatsumoto Date: Sun, 6 Sep 2020 18:05:54 +0300 don't allow start and end to match Diffstat:
| M | subs2srs.lua | | | 4 | ++-- |
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/subs2srs.lua b/subs2srs.lua @@ -514,8 +514,8 @@ subs.get = function() return nil end - if sub['start'] > sub['end'] then - msg.warn("First line can't start later than last one ends.") + if sub['start'] >= sub['end'] then + msg.warn("First line can't start later or at the same time than last one ends.") return nil end