diff options
author | David Robillard <d@drobilla.net> | 2009-10-14 16:10:01 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2009-10-14 16:10:01 +0000 |
commit | bb9cc45cd22af67ac275a5e73accbe14fee664d8 (patch) | |
tree | e52977d3eae6ff07b856088041a080a2fa3e5b79 /libs/ardour/template_utils.cc | |
parent | 8c4ce1e2ce35571aed5a686671431fdfffae7f8c (diff) |
Strip trailing whitespace and fix other whitespace errors (e.g. space/tab mixing). Whitespace changes only.
Vimmers, try let c_space_errors = 1 in your .vimrc to highlight this kind of stuff in red. I don't know the emacs equivalent...
git-svn-id: svn://localhost/ardour2/branches/3.0@5773 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/template_utils.cc')
-rw-r--r-- | libs/ardour/template_utils.cc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/libs/ardour/template_utils.cc b/libs/ardour/template_utils.cc index a0daca713d..aa0a583af4 100644 --- a/libs/ardour/template_utils.cc +++ b/libs/ardour/template_utils.cc @@ -80,14 +80,14 @@ find_session_templates (vector<TemplateInfo>& template_names) spath += user_template_directory (); templates = scanner (spath.to_string(), template_filter, 0, false, true); - + if (!templates) { cerr << "Found nothing along " << spath.to_string() << endl; return; } cerr << "Found " << templates->size() << " along " << spath.to_string() << endl; - + for (vector<string*>::iterator i = templates->begin(); i != templates->end(); ++i) { string fullpath = *(*i); @@ -117,11 +117,11 @@ find_route_templates (vector<TemplateInfo>& template_names) spath += user_route_template_directory (); templates = scanner (spath.to_string(), template_filter, 0, false, true); - + if (!templates) { return; } - + for (vector<string*>::iterator i = templates->begin(); i != templates->end(); ++i) { string fullpath = *(*i); @@ -132,7 +132,7 @@ find_route_templates (vector<TemplateInfo>& template_names) } XMLNode* root = tree.root(); - + TemplateInfo rti; rti.name = IO::name_from_state (*root->children().front()); |