diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2012-01-23 17:24:34 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2012-01-23 17:24:34 +0000 |
commit | 9c6ef3788cb7e6836c6c81328cd63ef52fb3cd83 (patch) | |
tree | 2f64bfbb5fdcd69c406829e82a6e36be644aa9b8 /libs/ardour/export_handler.cc | |
parent | cbaa0d472e86840e7c93791b354468b2c0e75a7d (diff) |
escape \ as \034 in TOC files
git-svn-id: svn://localhost/ardour2/branches/3.0@11314 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/export_handler.cc')
-rw-r--r-- | libs/ardour/export_handler.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libs/ardour/export_handler.cc b/libs/ardour/export_handler.cc index 0653185e87..c38bd7ef3e 100644 --- a/libs/ardour/export_handler.cc +++ b/libs/ardour/export_handler.cc @@ -597,6 +597,8 @@ ExportHandler::toc_escape_string (const std::string& txt) if ((*c) == '"') { out += "\\\""; + } else if ((*c) == '\\') { + out += "\\034"; } else if (g_unichar_isprint (*c)) { out += *c; } else { |