Skip to content

Commit

Permalink
WinGui: Fix Storage Dimensions output calc.
Browse files Browse the repository at this point in the history
  • Loading branch information
sr55 committed May 3, 2021
1 parent 317e594 commit 48fcd57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion win/CS/HandBrakeWPF/ViewModels/PictureSettingsViewModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -806,7 +806,7 @@ private void RecaulcatePictureSettingsProperties(ChangedPictureField changedFiel
// Step 3, Set the display width label to indicate the output.
this.DisplaySize = this.sourceResolution == null || this.sourceResolution.IsEmpty
? string.Empty
: string.Format(Resources.PictureSettingsViewModel_StorageDisplayLabel, dispWidth, result.OutputHeight);
: string.Format(Resources.PictureSettingsViewModel_StorageDisplayLabel, result.OutputWidth, result.OutputHeight);
this.NotifyOfPropertyChange(() => this.DisplaySize);

this.OutputAspect = string.Format(Resources.PictureSettingsViewModel_AspectRatioLabel, HandBrakePictureHelpers.GetNiceDisplayAspect(dispWidth, result.OutputHeight));
Expand Down

0 comments on commit 48fcd57

Please sign in to comment.