diff options
author | sr55 <[email protected]> | 2009-06-22 20:24:17 +0000 |
---|---|---|
committer | sr55 <[email protected]> | 2009-06-22 20:24:17 +0000 |
commit | 5f1d29efe1d78d2019899619440250e5e760d614 (patch) | |
tree | cd12f6d5c630d7891290c5ffb242db1b760e4b67 /win/C#/Functions/QueryGenerator.cs | |
parent | 0c52900e6f5ed363b15313f6f0735b1fd51e18f8 (diff) |
WinGui:
- Stop using Strings for CheckBoxes in IF statements. They can return a boolean values.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2599 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/C#/Functions/QueryGenerator.cs')
-rw-r--r-- | win/C#/Functions/QueryGenerator.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/win/C#/Functions/QueryGenerator.cs b/win/C#/Functions/QueryGenerator.cs index 604688612..373041107 100644 --- a/win/C#/Functions/QueryGenerator.cs +++ b/win/C#/Functions/QueryGenerator.cs @@ -33,7 +33,7 @@ namespace Handbrake.Functions query += " -t " + titleInfo[0];
}
- if (Properties.Settings.Default.dvdnav == "Checked")
+ if (Properties.Settings.Default.dvdnav)
if (mainWindow.drop_angle.Items.Count != 0)
query += " --angle " + mainWindow.drop_angle.SelectedItem;
@@ -497,7 +497,7 @@ namespace Handbrake.Functions query += " -v " + Properties.Settings.Default.verboseLevel;
- if (Properties.Settings.Default.dvdnav == "Checked")
+ if (Properties.Settings.Default.dvdnav)
query += " --dvdnav";
#endregion
|