From 9283e54eb6ab779592d6b327ef2b3da785cd58f3 Mon Sep 17 00:00:00 2001 From: sr55 Date: Sat, 15 Nov 2008 22:42:22 +0000 Subject: WinGui: - Fix a problem with loading presets. Height would be automatically generated if only a width was selected and a source had been scanned. The MaxWidth and Height causes a small libhb conflict, therefor, do not automatically generate a height when maxHeight or maxWidth is used. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1922 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- win/C#/frmMain.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/win/C#/frmMain.cs b/win/C#/frmMain.cs index 94d826494..b234b05e6 100644 --- a/win/C#/frmMain.cs +++ b/win/C#/frmMain.cs @@ -809,7 +809,7 @@ namespace Handbrake text_width.BackColor = Color.LightGreen; - if (lbl_Aspect.Text != "Select a Title") + if (lbl_Aspect.Text != "Select a Title" && maxWidth != 0 && maxHeight != 0) { if (drp_anamorphic.Text == "None") { -- cgit v1.2.3