MCU: fix mixer-strip buttons (see also 0d9656ef82
)
This commit is contained in:
parent
2de84c97d0
commit
1f65c66727
@ -135,7 +135,7 @@ Strip::Strip (Surface& s, const std::string& name, int index, const map<Button::
|
||||
}
|
||||
|
||||
for (map<Button::ID,StripButtonInfo>::const_iterator b = strip_buttons.begin(); b != strip_buttons.end(); ++b) {
|
||||
DEBUG_RESULT_CAST (Button*, bb, dynamic_cast<Button*> (Button::factory (*_surface, b->first, b->second.base_id + index, b->second.name, *this)));
|
||||
DEBUG_RESULT_CAST (Button*, bb, dynamic_cast<Button*>, (Button::factory (*_surface, b->first, b->second.base_id + index, b->second.name, *this)));
|
||||
DEBUG_TRACE (DEBUG::MackieControl, string_compose ("surface %1 strip %2 new button BID %3 id %4 from base %5\n",
|
||||
_surface->number(), index, Button::id_to_name (bb->bid()),
|
||||
bb->id(), b->second.base_id));
|
||||
|
Loading…
Reference in New Issue
Block a user