Formatting.

[ci skip]
This commit is contained in:
XhmikosR 2014-11-20 23:07:58 +02:00
parent 2d53fc5fab
commit c296d46e6a
2 changed files with 2 additions and 2 deletions

View File

@ -946,7 +946,7 @@ namespace Nikse.SubtitleEdit.Forms
{
if (state.SourceFormat == null)
state.SourceFormat = new SubRip();
var success = CommandLineConvert.BatchConvertSave(
state.ToFormat,
null,

View File

@ -222,7 +222,7 @@ namespace Nikse.SubtitleEdit.Logic
if (tracks.Count > 1)
newFileName = fileName.Insert(fileName.Length - 4, "_" + track.TrackNumber + "_" + track.Language.Replace("?", string.Empty).Replace("!", string.Empty).Replace("*", string.Empty).Replace(",", string.Empty).Replace("/", string.Empty).Trim());
if (format.GetType() == typeof (AdvancedSubStationAlpha) || format.GetType() == typeof (SubStationAlpha))
if (format.GetType() == typeof(AdvancedSubStationAlpha) || format.GetType() == typeof(SubStationAlpha))
{
if (toFormat.ToLower() != new AdvancedSubStationAlpha().Name.ToLower().Replace(" ", string.Empty) &&
toFormat.ToLower() != new SubStationAlpha().Name.ToLower().Replace(" ", string.Empty))