summaryrefslogtreecommitdiff
path: root/libs
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2009-05-01 20:30:57 +0000
committerCarl Hetherington <carl@carlh.net>2009-05-01 20:30:57 +0000
commit918371d52a90cb6027bd808188b2df78c0d3017a (patch)
treebdec8316fcd93f4c6372c518d5ce67e986b9a691 /libs
parentc4656b5c09f21217d91cfe6d06e23069f89066bd (diff)
Couple of fixes to route / mixer strip ordering which should hopefully stop the random re-ordering on startup.
git-svn-id: svn://localhost/ardour2/branches/3.0@5026 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs')
-rw-r--r--libs/ardour/route.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/ardour/route.cc b/libs/ardour/route.cc
index 907bb57a60..5a600cca7e 100644
--- a/libs/ardour/route.cc
+++ b/libs/ardour/route.cc
@@ -155,7 +155,7 @@ long
Route::order_key (const char* name) const
{
OrderKeys::const_iterator i;
-
+
for (i = order_keys.begin(); i != order_keys.end(); ++i) {
if (!strcmp (name, i->first)) {
return i->second;
@@ -196,8 +196,8 @@ Route::sync_order_keys (const char* base)
++i;
} else {
/* key exists - use it and reset all others (actually, itself included) */
- i = order_keys.begin();
key = i->second;
+ i = order_keys.begin();
}
for (; i != order_keys.end(); ++i) {