diff options
author | Carl Hetherington <carl@carlh.net> | 2009-12-22 01:13:22 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2009-12-22 01:13:22 +0000 |
commit | df7a3cc30c9be7528e5d76148d32c2dc2eed2cf3 (patch) | |
tree | 98c8e52544ee8dfa083ab4c91ac71c602fd54f4e /gtk2_ardour | |
parent | e8e63d8eac72ee3073ea991175a15c7c35a0a351 (diff) |
Fix compile.
git-svn-id: svn://localhost/ardour2/branches/3.0@6386 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour')
-rw-r--r-- | gtk2_ardour/port_group.cc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/gtk2_ardour/port_group.cc b/gtk2_ardour/port_group.cc index 9f5b73c68d..979d993a99 100644 --- a/gtk2_ardour/port_group.cc +++ b/gtk2_ardour/port_group.cc @@ -221,18 +221,18 @@ PortGroup::remove_duplicates () for (BundleList::iterator j = _bundles.begin(); j != _bundles.end(); ++j) { - if (j->bundle->nchannels() > i->bundle->nchannels()) { + if ((*j)->bundle->nchannels() > (*i)->bundle->nchannels()) { /* this bundle is larger */ uint32_t k = 0; - while (k < i->bundle->nchannels()) { + while (k < (*i)->bundle->nchannels()) { /* see if this channel on *i has an equivalent on *j */ uint32_t l = 0; - while (l < j->bundle->nchannels() && i->bundle->channel_ports (k) != j->bundle->channel_ports (l)) { + while (l < (*j)->bundle->nchannels() && (*i)->bundle->channel_ports (k) != (*j)->bundle->channel_ports (l)) { ++l; } - if (l == j->bundle->nchannels()) { + if (l == (*j)->bundle->nchannels()) { /* it does not */ break; } @@ -240,7 +240,7 @@ PortGroup::remove_duplicates () ++k; } - if (k == i->bundle->nchannels ()) { + if (k == (*i)->bundle->nchannels ()) { /* all channels on *i are represented by the larger bundle *j, so remove *i */ remove = true; break; |