Minor fix for last commit

This commit is contained in:
Nikolaj Olsson 2019-12-08 21:16:04 +01:00
parent b15cf65f24
commit 8b233b5d03

View File

@ -52,7 +52,7 @@ namespace Nikse.SubtitleEdit.Core.SubtitleFormats
{
template = template.Replace("30drop", Configuration.Settings.General.CurrentFrameRate.ToString(CultureInfo.InvariantCulture));
}
else if (Configuration.Settings.General.CurrentFrameRate % 1.0 < 0.001)
else
{
template = template.Replace("30drop", ((int)Math.Round(Configuration.Settings.General.CurrentFrameRate)).ToString(CultureInfo.InvariantCulture) + "drop");
}