From 8387e1bff87e1bed31a807f993a001a967bca51a Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Fri, 10 Dec 2010 22:28:20 +0000 Subject: [PATCH] Fix thinko in previous commit. git-svn-id: svn://localhost/ardour2/branches/3.0@8238 d708f5d6-7413-0410-9779-e7cbd77b26cf --- gtk2_ardour/port_matrix_body.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gtk2_ardour/port_matrix_body.cc b/gtk2_ardour/port_matrix_body.cc index 35e7faa3a6..3d564319f8 100644 --- a/gtk2_ardour/port_matrix_body.cc +++ b/gtk2_ardour/port_matrix_body.cc @@ -479,7 +479,9 @@ PortMatrixBody::highlight_associated_channels (int dim, ARDOUR::BundleChannel h) bc[1 - dim] = ARDOUR::BundleChannel ((*i)->bundle, j); - PortMatrixNode n (bc[0], bc[1]); + PortMatrixNode n; + n.row = bc[_matrix->row_index()]; + n.column = bc[_matrix->column_index()]; if (_matrix->get_association(n) != PortMatrixNode::NOT_ASSOCIATED) { if (dim == _matrix->column_index()) {