summaryrefslogtreecommitdiff
path: root/libs/ardour/io.cc
diff options
context:
space:
mode:
Diffstat (limited to 'libs/ardour/io.cc')
-rw-r--r--libs/ardour/io.cc24
1 files changed, 12 insertions, 12 deletions
diff --git a/libs/ardour/io.cc b/libs/ardour/io.cc
index b258dff78c..4a993cae11 100644
--- a/libs/ardour/io.cc
+++ b/libs/ardour/io.cc
@@ -2809,21 +2809,21 @@ IO::set_active (bool yn)
string
IO::name_from_state (const XMLNode& node)
{
- const XMLProperty* prop;
-
- if ((prop = node.property ("name")) != 0) {
- return prop->value();
- }
-
- return string();
+ const XMLProperty* prop;
+
+ if ((prop = node.property ("name")) != 0) {
+ return prop->value();
+ }
+
+ return string();
}
void
IO::set_name_in_state (XMLNode& node, const string& new_name)
{
- const XMLProperty* prop;
-
- if ((prop = node.property ("name")) != 0) {
- node.add_property ("name", new_name);
- }
+ const XMLProperty* prop;
+
+ if ((prop = node.property ("name")) != 0) {
+ node.add_property ("name", new_name);
+ }
}