summaryrefslogtreecommitdiffstats
path: root/win
diff options
context:
space:
mode:
authorsr55 <[email protected]>2008-11-15 22:42:22 +0000
committersr55 <[email protected]>2008-11-15 22:42:22 +0000
commit9283e54eb6ab779592d6b327ef2b3da785cd58f3 (patch)
treee0b2750bd336e1b68a1dc1ca7020103d8d00b755 /win
parent656ada9688d05f5e8862959802f30d32aeee0e70 (diff)
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
Diffstat (limited to 'win')
-rw-r--r--win/C#/frmMain.cs2
1 files changed, 1 insertions, 1 deletions
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")
{