diff --git a/libs/ardour/session_playlists.cc b/libs/ardour/session_playlists.cc index 5713e15458..e68fa4fc4d 100644 --- 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");