summaryrefslogtreecommitdiffstats
path: root/ingen/Node.hpp
diff options
context:
space:
mode:
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) {