From: sr55 Date: Fri, 22 Jun 2012 23:14:28 +0000 (+0000) Subject: WinGui: Missing file from last checkin X-Git-Tag: 0.9.9~543 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4bf5490642d2b1d8cfc27ced382b5fdcf6acab7c;p=handbrake WinGui: Missing file from last checkin git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4770 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- 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)