diff options
author | Robin Gareus <robin@gareus.org> | 2016-04-17 16:52:38 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2016-04-17 16:52:38 +0200 |
commit | 3dc322fa66589676e2ea4521e3e85bc494bc1667 (patch) | |
tree | 3c613905f72a6f295e76ca681e905359ac8e6d43 /gtk2_ardour/mixer_strip.cc | |
parent | 6e94b1fb9f79c5bfcf22cd5b88619afa9bedb1b2 (diff) |
fix 8f14f422e0536, port_prefix already includes colon
Diffstat (limited to 'gtk2_ardour/mixer_strip.cc')
-rw-r--r-- | gtk2_ardour/mixer_strip.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk2_ardour/mixer_strip.cc b/gtk2_ardour/mixer_strip.cc index db5d70bc85..adb18dec24 100644 --- a/gtk2_ardour/mixer_strip.cc +++ b/gtk2_ardour/mixer_strip.cc @@ -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; } |