summaryrefslogtreecommitdiffstats
path: root/ingen/Node.hpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2012-12-21 18:48:12 +0000
committerDavid Robillard <d@drobilla.net>2012-12-21 18:48:12 +0000
commit6b62e037f2f828ec6bf9c7e0066db32cfb54abef (patch)
tree49c52f02a159b01caa4595105655fb31fa471059 /ingen/Node.hpp
parentd1c3c41bf7a76d2eb9de79c44c04824c1bfc7768 (diff)
downloadingen-6b62e037f2f828ec6bf9c7e0066db32cfb54abef.tar.gz
ingen-6b62e037f2f828ec6bf9c7e0066db32cfb54abef.tar.bz2
ingen-6b62e037f2f828ec6bf9c7e0066db32cfb54abef.zip
Improved error handling in Python by loading error descriptions from data.
Fix connecting and disconnecting with ingenish. Fix path problems. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4875 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'ingen/Node.hpp')
-rw-r--r--ingen/Node.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ingen/Node.hpp b/ingen/Node.hpp
index 9ec6abd1..275c82cc 100644
--- a/ingen/Node.hpp
+++ b/ingen/Node.hpp
@@ -75,7 +75,7 @@ public:
static Raul::URI root_uri() { return Raul::URI("ingen:root"); }
static bool uri_is_path(const Raul::URI& uri) {
- return uri.substr(0, root_uri().length()) == root_uri();
+ return uri.substr(0, root_uri().length() + 1) == root_uri() + "/";
}
static Raul::Path uri_to_path(const Raul::URI& uri) {