13
0

r329@gandalf: fugalh | 2006-08-12 15:54:49 -0600

Cleaning up some printf debugging


git-svn-id: svn://localhost/ardour2/branches/undo@801 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Hans Fugal 2006-08-12 21:55:04 +00:00
parent 9ff901b1e7
commit 8e1c9186cb

View File

@ -3340,7 +3340,6 @@ Session::restore_history (string snapshot_name)
/* read xml */
xmlpath = _path + snapshot_name + ".history";
info << string_compose(_("Loading history from '%1'."), xmlpath) << endmsg;
if (access (xmlpath.c_str(), F_OK)) {
@ -3353,8 +3352,6 @@ Session::restore_history (string snapshot_name)
return -1;
}
info << "root children " << tree.root()->children().size() << endmsg;
/* replace history */
history.clear();
for (XMLNodeConstIterator it = tree.root()->children().begin();
@ -3394,9 +3391,5 @@ Session::restore_history (string snapshot_name)
history.add(ut);
}
XMLTree tree2;
tree2.set_root(&history.get_state());
info << tree2.write_buffer() << endmsg;
return 0;
}