diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2015-06-17 08:32:10 -0400 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2015-06-29 14:18:15 -0400 |
commit | 8e9bb12f92801d8b539013d02842ffed9e08cb84 (patch) | |
tree | dfc35404ef512496b48cee690e26ad12e8c0c3e2 /libs/ardour/session_state.cc | |
parent | dd0a73e2d4b6794326dfa1b0170b89567f00de63 (diff) |
no-op: fix whitespace/indentation
Diffstat (limited to 'libs/ardour/session_state.cc')
-rw-r--r-- | libs/ardour/session_state.cc | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/libs/ardour/session_state.cc b/libs/ardour/session_state.cc index 63deb5453d..2bf04d9ab2 100644 --- a/libs/ardour/session_state.cc +++ b/libs/ardour/session_state.cc @@ -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. |