Fix indentation in SessionPlaylists::add_state()
authorTim Mayberry <mojofunk@gmail.com>
Mon, 3 Oct 2016 01:24:34 +0000 (11:24 +1000)
committerTim Mayberry <mojofunk@gmail.com>
Mon, 10 Oct 2016 01:00:34 +0000 (11:00 +1000)
libs/ardour/session_playlists.cc

index 5713e1545807e109ddb91f645f92af5b403f7ca7..e68fa4fc4d1c970e69bd820998b137bda1641d8d 100644 (file)
@@ -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");