diff options
author | David Robillard <d@drobilla.net> | 2009-02-15 03:21:30 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2009-02-15 03:21:30 +0000 |
commit | 9462374e29596fde2180b0e38b8aaec3b0a3f01e (patch) | |
tree | 8fc88529af5be3a854c4c952985b796d9c121edf /libs/ardour/lv2_plugin.cc | |
parent | 74ff55f835656f617f1c508508cda49ac5836c91 (diff) |
Session XML style consistency (tag names are capitalized).
One thing left, this weird "end-marker-is-free" in <Config>. Is this really a config option? Anyone?
git-svn-id: svn://localhost/ardour2/branches/3.0@4577 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/lv2_plugin.cc')
-rw-r--r-- | libs/ardour/lv2_plugin.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/ardour/lv2_plugin.cc b/libs/ardour/lv2_plugin.cc index 03e3ea5bc2..ca24e94299 100644 --- a/libs/ardour/lv2_plugin.cc +++ b/libs/ardour/lv2_plugin.cc @@ -259,7 +259,7 @@ LV2Plugin::get_state() for (uint32_t i = 0; i < parameter_count(); ++i){ if (parameter_is_input(i) && parameter_is_control(i)) { - child = new XMLNode("port"); + child = new XMLNode("Port"); snprintf(buf, sizeof(buf), "%u", i); child->add_property("number", string(buf)); child->add_property("symbol", port_symbol(i)); @@ -345,7 +345,7 @@ LV2Plugin::set_state(const XMLNode& node) return -1; } - nodes = node.children ("port"); + nodes = node.children ("Port"); for(iter = nodes.begin(); iter != nodes.end(); ++iter){ |