summaryrefslogtreecommitdiffstats
path: root/win
diff options
context:
space:
mode:
authorsr55 <[email protected]>2014-09-12 18:02:55 +0000
committersr55 <[email protected]>2014-09-12 18:02:55 +0000
commite86272202d15a79e8a675e101592e0b5aa5d7d68 (patch)
tree3344ff9dfc47d883e99192d190c4fe22e1df8187 /win
parent46e2c852516ba42ada9009e9976cf4129acda7de (diff)
WinGui: Fix for Srt files not loading correctly.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6400 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win')
-rw-r--r--win/CS/HandBrake.ApplicationServices/Utilities/QueryGeneratorUtility.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/win/CS/HandBrake.ApplicationServices/Utilities/QueryGeneratorUtility.cs b/win/CS/HandBrake.ApplicationServices/Utilities/QueryGeneratorUtility.cs
index 0cecd6229..513f1b358 100644
--- a/win/CS/HandBrake.ApplicationServices/Utilities/QueryGeneratorUtility.cs
+++ b/win/CS/HandBrake.ApplicationServices/Utilities/QueryGeneratorUtility.cs
@@ -867,7 +867,7 @@ namespace HandBrake.ApplicationServices.Utilities
if (srtFile != string.Empty) // SRTs
{
- query += " --srt-file " + "\"" + srtFile + "\"";
+ query += " --srt-file " + "\"" + srtFile.Replace("\\", "\\\\") + "\"";
if (srtCodeset != string.Empty)
query += " --srt-codeset " + srtCodeset;