no-op: fix whitespace/indentation
authorPaul Davis <paul@linuxaudiosystems.com>
Wed, 17 Jun 2015 12:32:10 +0000 (08:32 -0400)
committerPaul Davis <paul@linuxaudiosystems.com>
Mon, 29 Jun 2015 18:18:15 +0000 (14:18 -0400)
libs/ardour/session_state.cc

index 63deb5453deb5ae65a70566171d7f33840914c37..2bf04d9ab2b3091285eee3d01250f571346128a3 100644 (file)
@@ -142,18 +142,18 @@ Session::pre_engine_init (string fullpath)
        _path = canonical_path(fullpath);
 
        /* is it new ? */
-    if (Profile->get_trx() ) {
-        // Waves TracksLive has a usecase of session replacement with a new one.
-        // We should check session state file (<session_name>.ardour) existance
-        // to determine if the session is new or not
-        string full_session_name = Glib::build_filename( fullpath, _name );
-        full_session_name += statefile_suffix;
-        
-        _is_new = !Glib::file_test (full_session_name, Glib::FileTest (G_FILE_TEST_EXISTS | G_FILE_TEST_IS_DIR));
-    } else {
-        _is_new = !Glib::file_test (_path, Glib::FileTest (G_FILE_TEST_EXISTS | G_FILE_TEST_IS_DIR));
-    }
-    
+       if (Profile->get_trx() ) {
+               // Waves TracksLive has a usecase of session replacement with a new one.
+               // We should check session state file (<session_name>.ardour) existance
+               // to determine if the session is new or not
+
+               string full_session_name = Glib::build_filename( fullpath, _name );
+               full_session_name += statefile_suffix;
+               
+               _is_new = !Glib::file_test (full_session_name, Glib::FileTest (G_FILE_TEST_EXISTS | G_FILE_TEST_IS_DIR));
+       } else {
+               _is_new = !Glib::file_test (_path, Glib::FileTest (G_FILE_TEST_EXISTS | G_FILE_TEST_IS_DIR));
+       }
 
        /* finish initialization that can't be done in a normal C++ constructor
           definition.