13
0

r261@gwythaint (orig r801): fugalh | 2006-08-12 15:55:04 -0600

r329@gandalf:  fugalh | 2006-08-12 15:54:49 -0600
  Cleaning up some printf debugging
 


git-svn-id: svn://localhost/ardour2/trunk@807 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Hans Fugal 2006-08-12 22:01:16 +00:00
commit f99a016f17

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;
}