summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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)