From 12e69269c1fc970d805db63f2783a10fb3fcd36d Mon Sep 17 00:00:00 2001 From: Valeriy Kamyshniy Date: Tue, 27 May 2014 21:58:11 -0400 Subject: [PATCH] [P4/git history rebuild] curious commit. This was later added to Ardour. Unclear how it ended up here. But the reduced condition for _writable is, in fact, correct according to Ardour code as of May 27th 2014. --- libs/ardour/session_state.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/ardour/session_state.cc b/libs/ardour/session_state.cc index af18a4896b..47971bf633 100644 --- a/libs/ardour/session_state.cc +++ b/libs/ardour/session_state.cc @@ -798,7 +798,7 @@ Session::load_state (string snapshot_name) set_dirty(); - _writable = exists_and_writable (xmlpath) && exists_and_writable(Glib::path_get_dirname(xmlpath)); + _writable = exists_and_writable (xmlpath); if (!state_tree->read (xmlpath)) { error << string_compose(_("Could not understand session file %1"), xmlpath) << endmsg;