From 624f76b229b8e71f9c57aa60da1ac2046b0578cd Mon Sep 17 00:00:00 2001 From: Mathias Buhr Date: Sat, 29 Aug 2015 13:48:05 +0200 Subject: Fixes case where audiofiles used wrong peakfiles --- libs/ardour/file_source.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'libs/ardour/file_source.cc') 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; } -- cgit v1.2.3