summaryrefslogtreecommitdiffstats
path: root/win/C#/Functions/PresetLoader.cs
diff options
context:
space:
mode:
authorsr55 <[email protected]>2009-06-27 13:43:55 +0000
committersr55 <[email protected]>2009-06-27 13:43:55 +0000
commit55e1c50521af6d6be32d3a3477ee79b074c6853b (patch)
tree8705a8c82ba028e2d08c2bb31bb52dc45d0a8fcb /win/C#/Functions/PresetLoader.cs
parentedc5c3c50bbaf09eb2511f217a1228d901d54b55 (diff)
WinGui:
- Fix a few culture issues with my last checkin. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2634 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/C#/Functions/PresetLoader.cs')
-rw-r--r--win/C#/Functions/PresetLoader.cs4
1 files changed, 3 insertions, 1 deletions
diff --git a/win/C#/Functions/PresetLoader.cs b/win/C#/Functions/PresetLoader.cs
index b34fff85d..6730b8e49 100644
--- a/win/C#/Functions/PresetLoader.cs
+++ b/win/C#/Functions/PresetLoader.cs
@@ -179,7 +179,9 @@ namespace Handbrake.Functions
int.TryParse(val.ToString(), out value);
}
- mainWindow.slider_videoQuality.Value = value;
+ int safevalue;
+ int.TryParse(value.ToString(culture), out safevalue);
+ mainWindow.slider_videoQuality.Value = safevalue;
}
else
{