diff options
author | sr55 <[email protected]> | 2014-08-21 15:20:43 +0000 |
---|---|---|
committer | sr55 <[email protected]> | 2014-08-21 15:20:43 +0000 |
commit | 084f08caa5811d92c8865e9ec46a7849f00a9294 (patch) | |
tree | 76d4d86cfcce94fe284bc07e5dd023e414d51644 /win | |
parent | 3b8a7e1aec5711748720aa8c029f572e07131801 (diff) |
WinGui: Add some additional escaping around the audio track names
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6329 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win')
-rw-r--r-- | win/CS/HandBrake.ApplicationServices/Utilities/QueryGeneratorUtility.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/win/CS/HandBrake.ApplicationServices/Utilities/QueryGeneratorUtility.cs b/win/CS/HandBrake.ApplicationServices/Utilities/QueryGeneratorUtility.cs index c804cf518..af9ae9b00 100644 --- a/win/CS/HandBrake.ApplicationServices/Utilities/QueryGeneratorUtility.cs +++ b/win/CS/HandBrake.ApplicationServices/Utilities/QueryGeneratorUtility.cs @@ -713,11 +713,11 @@ namespace HandBrake.ApplicationServices.Utilities if (firstLoop)
{
- audioItems = string.IsNullOrEmpty(trackName) ? "\"\"" : string.Format("\"{0}\"", trackName.Trim());
+ audioItems = string.IsNullOrEmpty(trackName) ? "\\\"\\\"" : string.Format("\\\"{0}\\\"", trackName.Trim());
firstLoop = false;
}
else
- audioItems += "," + (string.IsNullOrEmpty(trackName) ? "\"\"" : string.Format("\"{0}\"", trackName.Trim()));
+ audioItems += "," + (string.IsNullOrEmpty(trackName) ? "\\\"\\\"" : string.Format("\\\"{0}\\\"", trackName.Trim()));
}
if (foundTrackName)
query += string.Format(" --aname={0}", audioItems);
|