Fix thinko in previous commit.
[ardour.git] / gtk2_ardour / port_matrix_body.cc
index 35e7faa3a694ecf9c58a1485c3aaabc6c3901b59..3d564319f841fe8b497966a7d3ac2dce96f21c4f 100644 (file)
@@ -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()) {