From 19928bb583e72802746b89e322f71ecc0fcb7427 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Wed, 13 May 2009 04:05:32 +0000 Subject: The great ID refactoring of 2009. Path is now actually URI (scheme path: for now). Therefore ingen nodes and such live in the same namespace as ... well, everything. Including plugins. Thar be profit, laddies. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@1992 a436a847-0d15-0410-975c-d299462d15a1 --- src/ingen/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ingen') diff --git a/src/ingen/main.cpp b/src/ingen/main.cpp index 31f4a4ad..8fcda46f 100644 --- a/src/ingen/main.cpp +++ b/src/ingen/main.cpp @@ -253,7 +253,7 @@ main(int argc, char** argv) const Glib::ustring path = args.path_arg; if (Path::is_valid(path)) { const Path p(path); - if (p != "/") { + if (!p.is_root()) { parent = p.parent(); const string s = p.name(); if (Symbol::is_valid(s)) -- cgit v1.2.1