mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-11-26 13:12:39 +01:00
Fixed crash in BatchConvertSave - thx Jamakmake :)
This commit is contained in:
parent
7d09349e0b
commit
1fbc4813ca
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user