diff options
author | sr55 <[email protected]> | 2009-04-01 23:48:34 +0000 |
---|---|---|
committer | sr55 <[email protected]> | 2009-04-01 23:48:34 +0000 |
commit | 414d6a56cc67f2fa56353ee3ce80adaa8cfeb45f (patch) | |
tree | 171172730223e0e525b68f4afb3ea6ff2e5ccc9c /win/C#/Functions/QueryParser.cs | |
parent | 683faec1c917365b32332d86693e72479ba315bf (diff) |
WinGui:
- Just some minor code tweaks to clean things up.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2291 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/C#/Functions/QueryParser.cs')
-rw-r--r-- | win/C#/Functions/QueryParser.cs | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/win/C#/Functions/QueryParser.cs b/win/C#/Functions/QueryParser.cs index b3c8a70c3..eb6c06016 100644 --- a/win/C#/Functions/QueryParser.cs +++ b/win/C#/Functions/QueryParser.cs @@ -1042,12 +1042,7 @@ namespace Handbrake.Functions if (subtitles.Success)
thisQuery.q_subtitles = subtitles.ToString().Replace("-s ", "");
else
- {
- if (subScan.Success)
- thisQuery.q_subtitles = "Autoselect";
- else
- thisQuery.q_subtitles = "None";
- }
+ thisQuery.q_subtitles = subScan.Success ? "Autoselect" : "None";
thisQuery.q_forcedSubs = forcedSubtitles.Success;
|