summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsr55 <[email protected]>2012-06-22 23:14:28 +0000
committersr55 <[email protected]>2012-06-22 23:14:28 +0000
commit4bf5490642d2b1d8cfc27ced382b5fdcf6acab7c (patch)
tree05135e6d8558aaab3d5a1d372f5656af4feebcd4
parentdf172bae875502a88dbc6dc3aea229ef6436f22c (diff)
WinGui: Missing file from last checkin
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4770 b64f7644-9d1e-0410-96f1-a4d463321fa5
-rw-r--r--win/CS/HandBrake.ApplicationServices/Utilities/QueryGeneratorUtility.cs6
1 files changed, 3 insertions, 3 deletions
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)