WinGui: Use a specific culture to make sure . is used rather than ,
authorsr55 <sr55.hb@outlook.com>
Thu, 10 Oct 2013 19:54:03 +0000 (19:54 +0000)
committersr55 <sr55.hb@outlook.com>
Thu, 10 Oct 2013 19:54:03 +0000 (19:54 +0000)
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5829 b64f7644-9d1e-0410-96f1-a4d463321fa5

win/CS/HandBrake.ApplicationServices/Utilities/QueryGeneratorUtility.cs

index 57730bcbce5ead4e204b58fb6e74a5f0222af043..241423e9dfd35eb2650f67959981becc16810164 100644 (file)
@@ -626,7 +626,7 @@ namespace HandBrake.ApplicationServices.Utilities
             // Sample Rate (-R)\r
             foreach (double item in samplerates)\r
             {\r
-                string add = (item == 0.0) ? "Auto" : item.ToString(CultureInfo.InvariantCulture);\r
+                string add = (item == 0.0) ? "Auto" : item.ToString(new CultureInfo("en-US"));\r
                 if (firstLoop)\r
                 {\r
                     audioItems = add;\r