summaryrefslogtreecommitdiff
path: root/libs
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2009-02-20 14:37:34 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2009-02-20 14:37:34 +0000
commit05e194cbe01bfcd38a9cb2fc5a27aeda15a3f82f (patch)
treef2bad8bfd31e0eb968fca74c4b463ee2276f61ec /libs
parent65fd0a09b17bc153598932557b357fbb99583554 (diff)
fix up indentation caused by lack of .emacs
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@4646 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs')
-rw-r--r--libs/ardour/io.cc24
-rw-r--r--libs/ardour/route.cc14
-rw-r--r--libs/ardour/vst_plugin.cc24
3 files changed, 31 insertions, 31 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);
+ }
}
diff --git a/libs/ardour/route.cc b/libs/ardour/route.cc
index 04f3f39380..50f03854fb 100644
--- a/libs/ardour/route.cc
+++ b/libs/ardour/route.cc
@@ -2668,11 +2668,11 @@ Route::shift (nframes64_t pos, nframes64_t frames)
int
Route::save_as_template (const string& path, const string& name)
{
- XMLNode& node (state (false));
- XMLTree tree;
-
- IO::set_name_in_state (*node.children().front(), name);
-
- tree.set_root (&node);
- return tree.write (path.c_str());
+ XMLNode& node (state (false));
+ XMLTree tree;
+
+ IO::set_name_in_state (*node.children().front(), name);
+
+ tree.set_root (&node);
+ return tree.write (path.c_str());
}
diff --git a/libs/ardour/vst_plugin.cc b/libs/ardour/vst_plugin.cc
index 7db67cdfbb..feafb29bc9 100644
--- a/libs/ardour/vst_plugin.cc
+++ b/libs/ardour/vst_plugin.cc
@@ -1,19 +1,19 @@
/*
- Copyright (C) 2004 Paul Davis
+ Copyright (C) 2004 Paul Davis
- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 2 of the License, or
- (at your option) any later version.
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
- You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software
- Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/