summaryrefslogtreecommitdiff
path: root/gtk2_ardour/global_port_matrix.cc
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-06-01 17:00:29 +0000
committerDavid Robillard <d@drobilla.net>2011-06-01 17:00:29 +0000
commited626628b54e67dd9621c08d82a42afaed00c7ac (patch)
treecf621db4c44f07f75a6e6a3fb7f572cd2c3622cd /gtk2_ardour/global_port_matrix.cc
parenta473d630eb165272992e90f8d854b1d66ec0be63 (diff)
Delete trailing whitespace
git-svn-id: svn://localhost/ardour2/branches/3.0@9656 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/global_port_matrix.cc')
-rw-r--r--gtk2_ardour/global_port_matrix.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/gtk2_ardour/global_port_matrix.cc b/gtk2_ardour/global_port_matrix.cc
index 318263a9cd..df22424520 100644
--- a/gtk2_ardour/global_port_matrix.cc
+++ b/gtk2_ardour/global_port_matrix.cc
@@ -89,7 +89,7 @@ GlobalPortMatrix::get_state (BundleChannel c[2]) const
if (_session == 0) {
return PortMatrixNode::NOT_ASSOCIATED;
}
-
+
Bundle::PortList const & in_ports = c[IN].bundle->channel_ports (c[IN].channel);
Bundle::PortList const & out_ports = c[OUT].bundle->channel_ports (c[OUT].channel);
if (in_ports.empty() || out_ports.empty()) {
@@ -114,11 +114,11 @@ GlobalPortMatrix::get_state (BundleChannel c[2]) const
if (jp == 0) {
return PortMatrixNode::NOT_ASSOCIATED;
}
-
+
char const ** c = jack_port_get_all_connections (jack, jp);
char const ** p = c;
-
+
while (p && *p != 0) {
if (strcmp (*p, j->c_str()) == 0) {
free (c);
@@ -185,4 +185,4 @@ GlobalPortMatrix::channel_noun () const
{
return _("port");
}
-
+