summaryrefslogtreecommitdiff
path: root/libs/ardour/file_source.cc
diff options
context:
space:
mode:
Diffstat (limited to 'libs/ardour/file_source.cc')
-rw-r--r--libs/ardour/file_source.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/libs/ardour/file_source.cc b/libs/ardour/file_source.cc
index 507f0df49c..43763cf2f9 100644
--- a/libs/ardour/file_source.cc
+++ b/libs/ardour/file_source.cc
@@ -58,7 +58,7 @@ FileSource::FileSource (Session& session, DataType type, const string& path, con
, _path (path)
, _file_is_new (!origin.empty()) // if origin is left unspecified (empty string) then file must exist
, _channel (0)
- , _origin (origin)
+ , _origin (origin)
{
set_within_session_from_path (path);
}
@@ -148,9 +148,9 @@ FileSource::set_state (const XMLNode& node, int /*version*/)
_channel = 0;
}
- if ((prop = node.property (X_("origin"))) != 0) {
- _origin = prop->value();
- }
+ if ((prop = node.property (X_("origin"))) != 0) {
+ _origin = prop->value();
+ }
return 0;
}