mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-10 08:36:32 +01:00
Fix NULL dereference.
git-svn-id: svn://localhost/ardour2/branches/3.0@6616 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
d4789d9070
commit
18087e555d
1 changed files with 1 additions and 1 deletions
|
|
@ -3191,7 +3191,7 @@ Editor::set_route_group_mute (Route& route, bool yn)
|
|||
{
|
||||
RouteGroup *route_group = 0;
|
||||
|
||||
if ((route_group == route.route_group()) != 0) {
|
||||
if ((route_group = route.route_group()) != 0) {
|
||||
route_group->apply (&Route::set_mute, yn, this);
|
||||
} else {
|
||||
route.set_mute (yn, this);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue