diff options
author | David Robillard <d@drobilla.net> | 2015-09-04 22:28:28 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2015-09-04 22:28:28 +0000 |
commit | 183195508e8f45bc571fac8955789e70570b8a1b (patch) | |
tree | ec9eb4ff7060b3b0beec0bebac2b26073e4189fd /src/server/events/CreateBlock.cpp | |
parent | 9cfc41a86b30d4b10cffd5404c91ce852ab6a1a8 (diff) | |
download | ingen-183195508e8f45bc571fac8955789e70570b8a1b.tar.gz ingen-183195508e8f45bc571fac8955789e70570b8a1b.tar.bz2 ingen-183195508e8f45bc571fac8955789e70570b8a1b.zip |
Fix various atom conversion issues.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@5719 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/server/events/CreateBlock.cpp')
-rw-r--r-- | src/server/events/CreateBlock.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/server/events/CreateBlock.cpp b/src/server/events/CreateBlock.cpp index 8e1ebfe4..22c8731f 100644 --- a/src/server/events/CreateBlock.cpp +++ b/src/server/events/CreateBlock.cpp @@ -81,12 +81,12 @@ CreateBlock::pre_process() // Get prototype iterator t = _properties.find(uris.lv2_prototype); - if (t == _properties.end() || t->second.type() != uris.forge.URI) { + if (t == _properties.end() || !uris.forge.is_uri(t->second)) { // Missing/invalid prototype return Event::pre_process_done(Status::BAD_REQUEST); } - const Raul::URI prototype(t->second.ptr<char>()); + const Raul::URI prototype(uris.forge.str(t->second, false)); // Find polyphony const iterator p = _properties.find(uris.ingen_polyphonic); |