Fix/amend previous commit

This commit is contained in:
Robin Gareus 2019-10-15 14:20:52 +02:00
parent 59d074bcfd
commit cbb116026d
No known key found for this signature in database
GPG key ID: A090BCE02CF57F04

View file

@ -128,12 +128,13 @@ InstrumentSelector::build_instrument_list()
std::string suffix; std::string suffix;
#ifdef MIXBUS #ifdef MIXBUS
uint32_t n_outs = p->n_outputs.n_audio();
if (n_outs > 2) { if (n_outs > 2) {
suffix = string_compose(_("%1 outs"), n_outs); suffix = string_compose(_("%1 outs"), n_outs);
} }
#else #else
if (p->multichannel_name_ambiguity) { if (p->multichannel_name_ambiguity) {
int n_outs = p->n_outputs.n_audio(); uint32_t n_outs = p->n_outputs.n_audio();
if (n_outs > 2) { if (n_outs > 2) {
suffix = string_compose(_("%1 outs"), n_outs); suffix = string_compose(_("%1 outs"), n_outs);
} else if (n_outs == 2) { } else if (n_outs == 2) {