diff options
author | sr55 <[email protected]> | 2011-04-08 20:55:51 +0000 |
---|---|---|
committer | sr55 <[email protected]> | 2011-04-08 20:55:51 +0000 |
commit | cd46f30c0cb39596be65ddfb75f9456a00ebf82e (patch) | |
tree | 275903fd9f11f626fbcaf431df1573f88f1ff94b /win/CS/Functions | |
parent | fe415d1bdd7af43baa4632acac232b5597c07b97 (diff) |
WinGui:
- Another QueryGenerator fix for VP3. Don't specify an empty -x
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3915 b64f7644-9d1e-0410-96f1-a4d463321fa5
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()
|