From 6583376d0532d2b86bae7604e5982b4859be73c0 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Tue, 27 Sep 2011 20:20:04 +0000 Subject: [PATCH] Patch from Colin to fix a search/replace bug in TOC/CUE generation (#4336). git-svn-id: svn://localhost/ardour2/branches/3.0@10148 d708f5d6-7413-0410-9779-e7cbd77b26cf --- libs/ardour/export_handler.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/libs/ardour/export_handler.cc b/libs/ardour/export_handler.cc index f34e8c326b..91b3429bff 100644 --- a/libs/ardour/export_handler.cc +++ b/libs/ardour/export_handler.cc @@ -454,8 +454,8 @@ ExportHandler::write_track_info_cue (CDMarkerStatus & status) status.out << " PERFORMER \"" << status.marker->cd_info["performer"] << "\"" << endl; } - if (status.marker->cd_info.find("string_composer") != status.marker->cd_info.end()) { - status.out << " SONGWRITER \"" << status.marker->cd_info["string_composer"] << "\"" << endl; + if (status.marker->cd_info.find("composer") != status.marker->cd_info.end()) { + status.out << " SONGWRITER \"" << status.marker->cd_info["composer"] << "\"" << endl; } if (status.track_position != status.track_start_frame) { @@ -496,8 +496,8 @@ ExportHandler::write_track_info_toc (CDMarkerStatus & status) if (status.marker->cd_info.find("performer") != status.marker->cd_info.end()) { status.out << " PERFORMER \"" << status.marker->cd_info["performer"] << "\"" << endl; } - if (status.marker->cd_info.find("string_composer") != status.marker->cd_info.end()) { - status.out << " COMPOSER \"" << status.marker->cd_info["string_composer"] << "\"" << endl; + if (status.marker->cd_info.find("composer") != status.marker->cd_info.end()) { + status.out << " COMPOSER \"" << status.marker->cd_info["composer"] << "\"" << endl; } if (status.marker->cd_info.find("isrc") != status.marker->cd_info.end()) {