summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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,