diff --git a/libs/ardour/route.cc b/libs/ardour/route.cc index 1ba0580111..5bd9b6991a 100644 --- a/libs/ardour/route.cc +++ b/libs/ardour/route.cc @@ -4756,7 +4756,7 @@ Route::set_name (const string& str) */ if (_main_outs) { - if (_main_outs->set_name (newname)) { + if (!_main_outs->set_name (newname)) { /* XXX returning false here is stupid because we already changed the route name. */