13
0

MCU: fix mixer-strip buttons (see also 0d9656ef82)

This commit is contained in:
Robin Gareus 2022-07-15 23:46:28 +02:00
parent 2de84c97d0
commit 1f65c66727
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04

View File

@ -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));