From 97bd5cf9c26a6a0984ce32cfc02e0fc9f3084864 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 11 Oct 2008 20:08:40 +0000 Subject: Tolerate illegal paths in create_patch events. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@1645 a436a847-0d15-0410-975c-d299462d15a1 --- src/engine/events/CreatePatchEvent.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'src/engine/events/CreatePatchEvent.cpp') 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, 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) { } -- cgit v1.2.1