summaryrefslogtreecommitdiffstats
path: root/src/engine
diff options
context:
space:
mode:
Diffstat (limited to 'src/engine')
-rw-r--r--src/engine/events/CreatePatchEvent.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/engine/events/CreatePatchEvent.cpp b/src/engine/events/CreatePatchEvent.cpp
index 64fe5c63..1f6504ab 100644
--- a/src/engine/events/CreatePatchEvent.cpp
+++ b/src/engine/events/CreatePatchEvent.cpp
@@ -31,13 +31,13 @@ namespace Ingen {
CreatePatchEvent::CreatePatchEvent(Engine& engine, SharedPtr<Responder> responder, SampleCount timestamp, const string& path, int poly)
-: QueuedEvent(engine, responder, timestamp),
- _path(path),
- _patch(NULL),
- _parent(NULL),
- _compiled_patch(NULL),
- _poly(poly),
- _error(NO_ERROR)
+ : QueuedEvent(engine, responder, timestamp)
+ , _path(Raul::Path::pathify(path))
+ , _patch(NULL)
+ , _parent(NULL)
+ , _compiled_patch(NULL)
+ , _poly(poly)
+ , _error(NO_ERROR)
{
}