summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;
}