Fix thinko in previous commit.
authorCarl Hetherington <carl@carlh.net>
Fri, 10 Dec 2010 22:28:20 +0000 (22:28 +0000)
committerCarl Hetherington <carl@carlh.net>
Fri, 10 Dec 2010 22:28:20 +0000 (22:28 +0000)
git-svn-id: svn://localhost/ardour2/branches/3.0@8238 d708f5d6-7413-0410-9779-e7cbd77b26cf

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()) {