summaryrefslogtreecommitdiffstats
path: root/win/C#/frmMain/PresetLoader.cs
diff options
context:
space:
mode:
authorsr55 <[email protected]>2009-04-13 17:28:21 +0000
committersr55 <[email protected]>2009-04-13 17:28:21 +0000
commitcdad0e688118e38d524536a26cde8f906eec9017 (patch)
treea61b1ba9e44243fcaf0e3c7101ec1e7379672f86 /win/C#/frmMain/PresetLoader.cs
parent16bbb89ba213297636c2cbf463cb37e3442a0da2 (diff)
WinGui
- Small tweak to PresetLoader code - http://forum.handbrake.fr/viewtopic.php?f=12&t=9558&p=51085#p51085 git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2322 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/C#/frmMain/PresetLoader.cs')
-rw-r--r--win/C#/frmMain/PresetLoader.cs7
1 files changed, 2 insertions, 5 deletions
diff --git a/win/C#/frmMain/PresetLoader.cs b/win/C#/frmMain/PresetLoader.cs
index bb22f2394..7d4f6397f 100644
--- a/win/C#/frmMain/PresetLoader.cs
+++ b/win/C#/frmMain/PresetLoader.cs
@@ -169,11 +169,8 @@ namespace Handbrake
int value;
System.Globalization.CultureInfo culture = System.Globalization.CultureInfo.CreateSpecificCulture("en-US");
- double presetValue, x264step;
- double.TryParse(presetQuery.VideoQuality.ToString(),
- System.Globalization.NumberStyles.Number,
- culture,
- out presetValue);
+ double x264step;
+ double presetValue = presetQuery.VideoQuality;
double.TryParse(Properties.Settings.Default.x264cqstep,
System.Globalization.NumberStyles.Number,
culture,