summaryrefslogtreecommitdiffstats
path: root/win
diff options
context:
space:
mode:
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;