diff options
-rw-r--r-- | src/engine/events/CreatePatchEvent.cpp | 14 |
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) { } |