diff options
author | sr55 <[email protected]> | 2009-06-28 11:38:35 +0000 |
---|---|---|
committer | sr55 <[email protected]> | 2009-06-28 11:38:35 +0000 |
commit | 09c0bef2eed5ce0079e8f8b6409bc8fb78e3c0fa (patch) | |
tree | 8c19143241a318c1d7bf30b6aa13a2f1c88a8e8c /win/C#/Functions/PresetLoader.cs | |
parent | 2cb0e60451671090f0dfc419da79f42cbd0f87a6 (diff) |
WinGui:
- Attempt 2 at fixing culture issues. Thanks to zhango
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2638 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/C#/Functions/PresetLoader.cs')
-rw-r--r-- | win/C#/Functions/PresetLoader.cs | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/win/C#/Functions/PresetLoader.cs b/win/C#/Functions/PresetLoader.cs index 6730b8e49..82d96e660 100644 --- a/win/C#/Functions/PresetLoader.cs +++ b/win/C#/Functions/PresetLoader.cs @@ -159,8 +159,6 @@ namespace Handbrake.Functions if (presetQuery.VideoEncoder == "H.264 (x264)")
{
int value;
- System.Globalization.CultureInfo culture = System.Globalization.CultureInfo.CreateSpecificCulture("en-US");
-
double x264step = Properties.Settings.Default.x264cqstep;
double presetValue = presetQuery.VideoQuality;
@@ -178,10 +176,7 @@ namespace Handbrake.Functions double val = Math.Round(calculated, 0);
int.TryParse(val.ToString(), out value);
}
-
- int safevalue;
- int.TryParse(value.ToString(culture), out safevalue);
- mainWindow.slider_videoQuality.Value = safevalue;
+ mainWindow.slider_videoQuality.Value = value;
}
else
{
|