diff options
Diffstat (limited to 'win/CS/Functions')
-rw-r--r-- | win/CS/Functions/QueryGenerator.cs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/win/CS/Functions/QueryGenerator.cs b/win/CS/Functions/QueryGenerator.cs index ecc9e2e77..5487e7b00 100644 --- a/win/CS/Functions/QueryGenerator.cs +++ b/win/CS/Functions/QueryGenerator.cs @@ -470,8 +470,7 @@ namespace Handbrake.Functions break;
}
-
- return " -x " + advancedOptions;
+ return !string.IsNullOrEmpty(advancedOptions) ? " -x " + advancedOptions : string.Empty;
}
private static string ExtraSettings()
|