diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2006-10-31 21:48:51 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2006-10-31 21:48:51 +0000 |
commit | 34cd3457a2f04526f96342edf52d453973cf21b9 (patch) | |
tree | 1aa9782c86d093f845aad7221b01ca23ad3e9a8d /libs | |
parent | 5170c9d8d9ce0b3ea4f6b957611b9d5629cee1f3 (diff) |
fix return type in last commit for AutomationLine::control_point_box_size(); catch attempts to use new session dialog to open existing sessions
git-svn-id: svn://localhost/ardour2/trunk@1042 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs')
-rw-r--r-- | libs/ardour/session.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libs/ardour/session.cc b/libs/ardour/session.cc index 98d671281a..99fad0d013 100644 --- a/libs/ardour/session.cc +++ b/libs/ardour/session.cc @@ -334,6 +334,7 @@ Session::Session (AudioEngine &eng, first_stage_init (fullpath, snapshot_name); new_session = !g_file_test (_path.c_str(), GFileTest (G_FILE_TEST_EXISTS | G_FILE_TEST_IS_DIR)); + if (new_session) { if (create (new_session, 0, initial_length)) { throw failed_constructor (); |