diff options
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;
|