From 4bf5490642d2b1d8cfc27ced382b5fdcf6acab7c Mon Sep 17 00:00:00 2001 From: sr55 Date: Fri, 22 Jun 2012 23:14:28 +0000 Subject: WinGui: Missing file from last checkin git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4770 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- .../Utilities/QueryGeneratorUtility.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'win/CS/HandBrake.ApplicationServices/Utilities/QueryGeneratorUtility.cs') diff --git a/win/CS/HandBrake.ApplicationServices/Utilities/QueryGeneratorUtility.cs b/win/CS/HandBrake.ApplicationServices/Utilities/QueryGeneratorUtility.cs index 1fbd1244c..7678beeb0 100644 --- a/win/CS/HandBrake.ApplicationServices/Utilities/QueryGeneratorUtility.cs +++ b/win/CS/HandBrake.ApplicationServices/Utilities/QueryGeneratorUtility.cs @@ -248,10 +248,10 @@ namespace HandBrake.ApplicationServices.Utilities if (task.Anamorphic != Anamorphic.Strict) { if (task.MaxWidth.HasValue) query += string.Format(" -X {0}", task.MaxWidth); - else if (task.Width.HasValue && task.Width != 0) query += string.Format(" -w {0}", task.Width); + if (task.Width.HasValue && task.Width != 0) query += string.Format(" -w {0}", task.Width); - if (task.MaxWidth.HasValue) query += string.Format(" -Y {0}", task.MaxHeight); - else if (task.Height.HasValue && task.Height != 0) query += string.Format(" -l {0}", task.Height); + if (task.MaxHeight.HasValue) query += string.Format(" -Y {0}", task.MaxHeight); + if (task.Height.HasValue && task.Height != 0) query += string.Format(" -l {0}", task.Height); } if (task.HasCropping) -- cgit v1.2.3