From 9c6ef3788cb7e6836c6c81328cd63ef52fb3cd83 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Mon, 23 Jan 2012 17:24:34 +0000 Subject: [PATCH] escape \ as \034 in TOC files git-svn-id: svn://localhost/ardour2/branches/3.0@11314 d708f5d6-7413-0410-9779-e7cbd77b26cf --- libs/ardour/export_handler.cc | 2 ++ 1 file changed, 2 insertions(+) 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 {