OSDN Git Service

WinGui:
authorsr55 <sr55@b64f7644-9d1e-0410-96f1-a4d463321fa5>
Fri, 13 Nov 2009 23:07:41 +0000 (23:07 +0000)
committersr55 <sr55@b64f7644-9d1e-0410-96f1-a4d463321fa5>
Fri, 13 Nov 2009 23:07:41 +0000 (23:07 +0000)
- Fix a culture issue in query generator. DRC appeared as x,x rather than x.x

git-svn-id: svn://localhost/HandBrake/trunk@2927 b64f7644-9d1e-0410-96f1-a4d463321fa5

win/C#/Functions/QueryGenerator.cs

index 3b34cd5..ca5262a 100644 (file)
@@ -351,8 +351,9 @@ namespace Handbrake.Functions
             firstLoop = true; audioItems = ""; // Reset for another pass.\r
 \r
             // DRC (-D)\r
-            foreach (String item in drcs)\r
+            foreach (var itm in drcs)\r
             {\r
+                string item = itm.ToString(new CultureInfo("en-US"));\r
                 if (firstLoop)\r
                 {\r
                     audioItems = item; firstLoop = false;\r