summaryrefslogtreecommitdiffstats
path: root/src/engine/events
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2008-10-11 20:08:40 +0000
committerDavid Robillard <d@drobilla.net>2008-10-11 20:08:40 +0000
commit97bd5cf9c26a6a0984ce32cfc02e0fc9f3084864 (patch)
tree4b35a233e4b6456a1b4a514208a1668c73fc17bb /src/engine/events
parente1c5b9d69976bf0292b5f113a78b2d7872c8e253 (diff)
downloadingen-97bd5cf9c26a6a0984ce32cfc02e0fc9f3084864.tar.gz
ingen-97bd5cf9c26a6a0984ce32cfc02e0fc9f3084864.tar.bz2
ingen-97bd5cf9c26a6a0984ce32cfc02e0fc9f3084864.zip
Tolerate illegal paths in create_patch events.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@1645 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/engine/events')
-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)
{
}