fix 8f14f422e0
, port_prefix already includes colon
This commit is contained in:
parent
6e94b1fb9f
commit
3dc322fa66
@ -1365,7 +1365,7 @@ MixerStrip::update_io_button (boost::shared_ptr<ARDOUR::Route> route, Width widt
|
||||
// "ardour:Master/" -> "Master"
|
||||
string::size_type slash = ardour_track_name.find("/");
|
||||
if (slash != string::npos) {
|
||||
const size_t ppps = RouteUI::program_port_prefix.size () + 1; // "ardour:"
|
||||
const size_t ppps = RouteUI::program_port_prefix.size (); // "ardour:"
|
||||
label << ardour_track_name.substr (ppps, slash - ppps);
|
||||
have_label = true;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user