diff options
author | sr55 <[email protected]> | 2013-09-01 15:33:40 +0000 |
---|---|---|
committer | sr55 <[email protected]> | 2013-09-01 15:33:40 +0000 |
commit | a1d00e78f5778119ce52ee66c2ce5314348f5e9e (patch) | |
tree | 1c0c7ea88ff3dac0ddefd4656473dfa943389ad7 /win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs | |
parent | cd5085da6ab11a2dac5b92170a3aa894ef0c09ef (diff) |
WinGui: Another small fix around point to point mode setting of start and end points.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5763 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs')
-rw-r--r-- | win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs b/win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs index 213b2118b..614964700 100644 --- a/win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs +++ b/win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs @@ -850,7 +850,7 @@ namespace HandBrakeWPF.ViewModels this.SelectedStartPoint = 0;
int totalFrames;
- if (int.TryParse(estimatedTotalFrames.ToString(CultureInfo.InvariantCulture), out totalFrames))
+ if (int.TryParse(Math.Round(estimatedTotalFrames, 0).ToString(CultureInfo.InvariantCulture), out totalFrames))
{
this.SelectedEndPoint = totalFrames;
}
|