summaryrefslogtreecommitdiffstats
path: root/win/C#/frmMain/QueryGenerator.cs
diff options
context:
space:
mode:
authorsr55 <[email protected]>2009-03-15 14:12:48 +0000
committersr55 <[email protected]>2009-03-15 14:12:48 +0000
commit48f7c00f4e9aa893f97c425746dd1cace8215620 (patch)
treed8ed24114ff8744e21c74ee60662d16f13e4a16e /win/C#/frmMain/QueryGenerator.cs
parent30b537ed1847e996f74338bab2441e59c8c8d05f (diff)
WinGui:
- Enable tabstops on the add preset window. - Confirm closing of program if Queue is running (ExDeus) - Minor fixes/cleanup from Exdeus (Destination Browse Button, Tools > Show Queue, MessageBox in frmQueue) - Code cleanup in a few other files. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2260 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/C#/frmMain/QueryGenerator.cs')
-rw-r--r--win/C#/frmMain/QueryGenerator.cs7
1 files changed, 3 insertions, 4 deletions
diff --git a/win/C#/frmMain/QueryGenerator.cs b/win/C#/frmMain/QueryGenerator.cs
index 2c0417397..05e73b841 100644
--- a/win/C#/frmMain/QueryGenerator.cs
+++ b/win/C#/frmMain/QueryGenerator.cs
@@ -219,9 +219,9 @@ namespace Handbrake
break;
case "H.264 (x264)":
double divided;
- System.Globalization.CultureInfo culture = System.Globalization.CultureInfo.CreateSpecificCulture("en-US");
+ System.Globalization.CultureInfo culture = CultureInfo.CreateSpecificCulture("en-US");
double.TryParse(Properties.Settings.Default.x264cqstep,
- System.Globalization.NumberStyles.Number,
+ NumberStyles.Number,
culture,
out divided);
value = 51 - mainWindow.slider_videoQuality.Value * divided;
@@ -384,8 +384,7 @@ namespace Handbrake
query += " -U ";
else if (subtitles != "" && subtitles != "None")
{
- string[] tempSub;
- tempSub = subtitles.Split(' ');
+ string[] tempSub = subtitles.Split(' ');
query += " -s " + tempSub[0];
}