From d1e7733a4a2eda4ce39dfd60d6410fb28ec69479 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Tue, 9 Jun 2009 21:30:32 +0000 Subject: => git-svn-id: svn://localhost/ardour2/branches/3.0@5140 d708f5d6-7413-0410-9779-e7cbd77b26cf --- libs/ardour/io.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libs/ardour/io.cc b/libs/ardour/io.cc index a5d4e639e3..4a762c8eb7 100644 --- a/libs/ardour/io.cc +++ b/libs/ardour/io.cc @@ -495,7 +495,7 @@ IO::state (bool full_state) vector connections; - XMLNode* pnode = new XMLNode (X_("port")); + XMLNode* pnode = new XMLNode (X_("Port")); pnode->add_property (X_("type"), i->type().to_string()); if (i->get_connections (connections)) { @@ -716,7 +716,7 @@ IO::get_port_counts (const XMLNode& node, ChanCount& n, boost::shared_ptrname() == X_("port")) { + if ((*iter)->name() == X_("Port")) { prop = (*iter)->property (X_("type")); if (!prop) { @@ -790,7 +790,7 @@ IO::make_connections (const XMLNode& node) return 0; } - if ((*i)->name() == "port") { + if ((*i)->name() == "Port") { Port* p = nth (n++); XMLProperty* prop = (*i)->property ("connection"); if (p && prop) { -- cgit v1.2.3