projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
816f3bf
)
Fix indentation in SessionPlaylists::add_state()
author
Tim Mayberry
<mojofunk@gmail.com>
Mon, 3 Oct 2016 01:24:34 +0000
(11:24 +1000)
committer
Tim Mayberry
<mojofunk@gmail.com>
Mon, 10 Oct 2016 01:00:34 +0000
(11:00 +1000)
libs/ardour/session_playlists.cc
patch
|
blob
|
history
diff --git
a/libs/ardour/session_playlists.cc
b/libs/ardour/session_playlists.cc
index 5713e1545807e109ddb91f645f92af5b403f7ca7..e68fa4fc4d1c970e69bd820998b137bda1641d8d 100644
(file)
--- a/
libs/ardour/session_playlists.cc
+++ b/
libs/ardour/session_playlists.cc
@@
-307,13
+307,13
@@
SessionPlaylists::add_state (XMLNode* node, bool full_state)
{
XMLNode* child = node->add_child ("Playlists");
for (List::iterator i = playlists.begin(); i != playlists.end(); ++i) {
- if (!(*i)->hidden()) {
-
if (full_state) {
-
child->add_child_nocopy ((*i)->get_state
());
-
} else {
-
child->add_child_nocopy ((*i)->get_template
());
-
}
-
}
+ if (!(*i)->hidden
()) {
+ if (full_state) {
+
child->add_child_nocopy ((*i)->get_state
());
+ } else {
+
child->add_child_nocopy ((*i)->get_template
());
+ }
+ }
}
child = node->add_child ("UnusedPlaylists");