13
0

tweak audio track importer to use the modified xml++ API for XPATH searching

git-svn-id: svn://localhost/ardour2/branches/3.0@11735 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Paul Davis 2012-03-20 18:02:36 +00:00
parent 8f4e126c72
commit 1c399d5ebc

View File

@ -267,7 +267,7 @@ AudioTrackImporter::_move ()
boost::shared_ptr<XMLSharedNodeList> ds_node_list;
string xpath = "/Session/DiskStreams/AudioDiskstream[@id='" + old_ds_id.to_s() + "']";
ds_node_list = source.root()->find (xpath);
ds_node_list = source.find (xpath);
if (ds_node_list->size() != 1) {
error << string_compose (_("Error Importing Audio track %1"), name) << endmsg;