diff options
Diffstat (limited to 'gtk2_ardour/port_matrix_component.cc')
-rw-r--r-- | gtk2_ardour/port_matrix_component.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk2_ardour/port_matrix_component.cc b/gtk2_ardour/port_matrix_component.cc index 166488bef0..2637a26d22 100644 --- a/gtk2_ardour/port_matrix_component.cc +++ b/gtk2_ardour/port_matrix_component.cc @@ -197,7 +197,7 @@ PortMatrixComponent::position_to_channel (double p, double, boost::shared_ptr<co uint32_t const s = _matrix->count_of_our_type_min_1 ((*j)->bundle->nchannels()); if (p < s) { - return ARDOUR::BundleChannel ((*j)->bundle, p); + return ARDOUR::BundleChannel ((*j)->bundle, (*j)->bundle->type_channel_to_overall (_matrix->type (), p)); } else { p -= s; } |