summaryrefslogtreecommitdiffstats
path: root/win
diff options
context:
space:
mode:
Diffstat (limited to 'win')
-rw-r--r--win/C#/Functions/QueryGenerator.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/win/C#/Functions/QueryGenerator.cs b/win/C#/Functions/QueryGenerator.cs
index 198be2d43..58e59cd70 100644
--- a/win/C#/Functions/QueryGenerator.cs
+++ b/win/C#/Functions/QueryGenerator.cs
@@ -461,7 +461,7 @@ namespace Handbrake.Functions
if (srtFile != "") // SRTs
{
- query += " --srt-file " + srtFile;
+ query += " --srt-file " + "\"" + srtFile + "\"";
if (srtCodeset != "")
query += " --srt-codeset " + srtCodeset;