Fix second bug in "Batch convert", would only adjust milliseconds - thx Arnaud :)

git-svn-id: https://subtitleedit.googlecode.com/svn/trunk@1772 99eadd0c-20b8-1223-b5c4-2a2b2df33de2
This commit is contained in:
niksedk 2013-03-31 11:40:08 +00:00
parent 5941528df5
commit 6aa5c5a7b2

View File

@ -794,7 +794,7 @@ namespace Nikse.SubtitleEdit.Forms
if (timeUpDownAdjust.TimeCode.TotalMilliseconds > 0.00001)
{
var totalMilliseconds = timeUpDownAdjust.TimeCode.Milliseconds;
var totalMilliseconds = timeUpDownAdjust.TimeCode.TotalMilliseconds;
if (radioButtonShowEarlier.Checked)
totalMilliseconds *= -1;
sub.AddTimeToAllParagraphs(TimeSpan.FromMilliseconds(totalMilliseconds));