diff --git a/libs/ardour/session.cc b/libs/ardour/session.cc index 73e8070099..624e5df13d 100644 --- a/libs/ardour/session.cc +++ b/libs/ardour/session.cc @@ -2990,7 +2990,7 @@ Session::remove_source (boost::weak_ptr src) } } - if (!_state_of_the_state & InCleanup) { + if (!(_state_of_the_state & InCleanup)) { /* save state so we don't end up with a session file referring to non-existent sources.