From bcb554a1909b24182a881b9a0506c8467dc36687 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Wed, 4 May 2011 11:32:35 +0000 Subject: 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 --- libs/ardour/session_state.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'libs/ardour/session_state.cc') 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) { -- cgit v1.2.3