Fixed crash in BatchConvertSave - thx Jamakmake :)

This commit is contained in:
Nikolaj Olsson 2016-05-06 15:48:43 +02:00
parent 7d09349e0b
commit 1fbc4813ca

View File

@ -638,7 +638,7 @@ namespace Nikse.SubtitleEdit.Logic
try
{
// adjust offset
if (offset.Length > 0)
if (!string.IsNullOrWhiteSpace(offset))
{
var parts = offset.Split(new[] { ':' }, StringSplitOptions.RemoveEmptyEntries);
if (parts.Length == 5)