From feb7340f66dfadfa10f67e95e3298aba123024ef Mon Sep 17 00:00:00 2001 From: sr55 Date: Sat, 8 Dec 2012 12:50:37 +0000 Subject: WinGui: Fix a number of potential culture issues with doubles. (Advanced Panel, Query Handling and Picture settings) git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5091 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- win/CS/HandBrake.ApplicationServices/Utilities/QueryParserUtility.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'win/CS/HandBrake.ApplicationServices/Utilities/QueryParserUtility.cs') diff --git a/win/CS/HandBrake.ApplicationServices/Utilities/QueryParserUtility.cs b/win/CS/HandBrake.ApplicationServices/Utilities/QueryParserUtility.cs index c13511580..f0b5d65e3 100644 --- a/win/CS/HandBrake.ApplicationServices/Utilities/QueryParserUtility.cs +++ b/win/CS/HandBrake.ApplicationServices/Utilities/QueryParserUtility.cs @@ -322,7 +322,7 @@ namespace HandBrake.ApplicationServices.Utilities if (videoFramerate.Success) { double fps; - double.TryParse(videoFramerate.Groups[1].ToString(), out fps); + double.TryParse(videoFramerate.Groups[1].ToString(), NumberStyles.Any, CultureInfo.InvariantCulture, out fps); parsed.Framerate = fps; } -- cgit v1.2.3