mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 06:44:57 +01:00
fix naming of MIDI scene changes
Or at least make the arithmetic precedence clearer
This commit is contained in:
parent
d7f9b659f2
commit
af9472ecb6
1 changed files with 2 additions and 2 deletions
|
|
@ -355,8 +355,8 @@ MIDISceneChanger::program_change_input (MIDI::Parser& parser, MIDI::byte program
|
|||
}
|
||||
}
|
||||
|
||||
loc->set_scene_change (std::shared_ptr<MIDISceneChange> (msc));
|
||||
loc->set_name( string_compose(_("scene [%1]"), 1+bank*128+(program & 0x7f)));
|
||||
loc->set_scene_change (msc);
|
||||
loc->set_name (string_compose(_("scene [%1]"), 1 + ((bank*128)+(program & 0x7f))));
|
||||
|
||||
/* this will generate a "changed" signal to be emitted by locations,
|
||||
and we will call ::gather() to update our list of MIDI events.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue