summaryrefslogtreecommitdiffstats
path: root/win/CS/HandBrakeWPF/ViewModels/PictureSettingsViewModel.cs
diff options
context:
space:
mode:
Diffstat (limited to 'win/CS/HandBrakeWPF/ViewModels/PictureSettingsViewModel.cs')
-rw-r--r--win/CS/HandBrakeWPF/ViewModels/PictureSettingsViewModel.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/win/CS/HandBrakeWPF/ViewModels/PictureSettingsViewModel.cs b/win/CS/HandBrakeWPF/ViewModels/PictureSettingsViewModel.cs
index 0c492b138..2c879ff58 100644
--- a/win/CS/HandBrakeWPF/ViewModels/PictureSettingsViewModel.cs
+++ b/win/CS/HandBrakeWPF/ViewModels/PictureSettingsViewModel.cs
@@ -1004,7 +1004,7 @@ namespace HandBrakeWPF.ViewModels
double new_width = ((double)this.Height * this.sourceResolution.Height * this.SourceAspect.Width *
crop_width) /
- (this.sourceResolution.Width * this.SourceAspect.Height * crop_height);
+ ((double)this.sourceResolution.Width * this.SourceAspect.Height * crop_height);
this.Task.Width = (int)Math.Round(this.GetModulusValue(new_width), 0);
this.NotifyOfPropertyChange(() => this.Task.Width);