diff options
author | Carl Hetherington <carl@carlh.net> | 2011-05-04 11:32:35 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2011-05-04 11:32:35 +0000 |
commit | bcb554a1909b24182a881b9a0506c8467dc36687 (patch) | |
tree | b0df0250fceefc11060147513e6af135fe9c4b70 /libs/ardour/session_state.cc | |
parent | 56b70dcc0b64d34d346514ecfb7c528b140cb743 (diff) |
Fix problems with sessions being saved as foo.ardour.ardour when loaded using the session file name (#4026).
git-svn-id: svn://localhost/ardour2/branches/3.0@9471 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/session_state.cc')
-rw-r--r-- | libs/ardour/session_state.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libs/ardour/session_state.cc b/libs/ardour/session_state.cc index f1bebae6e3..0c4a1a767b 100644 --- a/libs/ardour/session_state.cc +++ b/libs/ardour/session_state.cc @@ -6,7 +6,7 @@ the Free Software Foundation; either version 2 of the License, or (at your option) any later version. - This program is distributed in the hope that it will be useful, + This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. @@ -755,6 +755,7 @@ Session::jack_session_event (jack_session_event_t * event) } #endif +/** @param snapshot_name Name to save under, without .ardour / .pending prefix */ int Session::save_state (string snapshot_name, bool pending, bool switch_to_snapshot) { |