summaryrefslogtreecommitdiff
path: root/libs/ardour/user_bundle.cc
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2017-07-16 21:44:00 +0200
committerRobin Gareus <robin@gareus.org>2017-07-16 21:44:00 +0200
commite0b4767d2e2b1f1f60db72b49e72fea61040f966 (patch)
tree0a842b3374030f0603367d8cfde6769e704a16d7 /libs/ardour/user_bundle.cc
parent157d4b2c5750b38b103ecf5aa6f4c7641f481be4 (diff)
Fix loading bundles #7426
Diffstat (limited to 'libs/ardour/user_bundle.cc')
-rw-r--r--libs/ardour/user_bundle.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/ardour/user_bundle.cc b/libs/ardour/user_bundle.cc
index e9bd792be9..ee98f02858 100644
--- a/libs/ardour/user_bundle.cc
+++ b/libs/ardour/user_bundle.cc
@@ -60,7 +60,7 @@ ARDOUR::UserBundle::set_state (XMLNode const & node, int /*version*/)
return -1;
}
- if ((*i)->get_property ("name", str)) {
+ if (!(*i)->get_property ("name", str)) {
PBD::error << _("Node for Channel has no \"name\" property") << endmsg;
return -1;
}