OSDN Git Service

WinGui:
authorsr55 <sr55@b64f7644-9d1e-0410-96f1-a4d463321fa5>
Fri, 28 Aug 2009 21:23:01 +0000 (21:23 +0000)
committersr55 <sr55@b64f7644-9d1e-0410-96f1-a4d463321fa5>
Fri, 28 Aug 2009 21:23:01 +0000 (21:23 +0000)
- Wrap double quotes around srt file name / location.

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

win/C#/Functions/QueryGenerator.cs

index 198be2d..58e59cd 100644 (file)
@@ -461,7 +461,7 @@ namespace Handbrake.Functions
 \r
                 if (srtFile != "") // SRTs\r
                 {\r
-                    query += " --srt-file " + srtFile;\r
+                    query += " --srt-file " + "\"" + srtFile + "\"";\r
 \r
                     if (srtCodeset != "")\r
                         query += " --srt-codeset " + srtCodeset;\r