projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ee0fb82
)
fix botched-up, half-done code in last commit
author
Paul Davis
<paul@linuxaudiosystems.com>
Mon, 11 Dec 2006 13:22:09 +0000
(13:22 +0000)
committer
Paul Davis
<paul@linuxaudiosystems.com>
Mon, 11 Dec 2006 13:22:09 +0000
(13:22 +0000)
git-svn-id: svn://localhost/ardour2/trunk@1201
d708f5d6
-7413-0410-9779-
e7cbd77b26cf
libs/ardour/session_state.cc
patch
|
blob
|
history
diff --git
a/libs/ardour/session_state.cc
b/libs/ardour/session_state.cc
index e97d2b6831676a428fd850245ab296abdda962c2..95449d6c1ac7af6f238ec55a17204d5a2cb8ec28 100644
(file)
--- a/
libs/ardour/session_state.cc
+++ b/
libs/ardour/session_state.cc
@@
-2796,13
+2796,8
@@
Session::save_history (string snapshot_name)
XMLTree tree;
string xml_path;
string bak_path;
- XMLNode& history_node (history.get_state (Config->get_saved_history_depth()));
- if (history_node.children().empty()) {
- return 0;
- }
-
- tree.set_root (
+ tree.set_root (&_history.get_state (Config->get_saved_history_depth()));
if (snapshot_name.empty()) {
snapshot_name = _current_snapshot_name;