Use already defined const for 'BaseUnit'

This commit is contained in:
ivandroflygit config --global user.email ivandrofly@gmail.comgit config --global user.name ivandrofly 2015-12-26 23:47:06 +00:00
parent 1b4324579e
commit faceafe75c

View File

@ -429,7 +429,7 @@ namespace Nikse.SubtitleEdit.Core
/// </summary>
public int GetIndex(double seconds)
{
var totalMilliseconds = seconds * 1000.0;
var totalMilliseconds = seconds * TimeCode.BaseUnit;
for (int i = 0; i < Paragraphs.Count; i++)
{
var p = Paragraphs[i];