summaryrefslogtreecommitdiffstats
path: root/win/C#/Functions/PresetLoader.cs
diff options
context:
space:
mode:
Diffstat (limited to 'win/C#/Functions/PresetLoader.cs')
-rw-r--r--win/C#/Functions/PresetLoader.cs6
1 files changed, 1 insertions, 5 deletions
diff --git a/win/C#/Functions/PresetLoader.cs b/win/C#/Functions/PresetLoader.cs
index bcc4b1b26..b34fff85d 100644
--- a/win/C#/Functions/PresetLoader.cs
+++ b/win/C#/Functions/PresetLoader.cs
@@ -161,12 +161,8 @@ namespace Handbrake.Functions
int value;
System.Globalization.CultureInfo culture = System.Globalization.CultureInfo.CreateSpecificCulture("en-US");
- double x264step;
+ double x264step = Properties.Settings.Default.x264cqstep;
double presetValue = presetQuery.VideoQuality;
- double.TryParse(Properties.Settings.Default.x264cqstep,
- System.Globalization.NumberStyles.Number,
- culture,
- out x264step);
double x = 51 / x264step;