summaryrefslogtreecommitdiffstats
path: root/src/ingen
diff options
context:
space:
mode:
Diffstat (limited to 'src/ingen')
-rw-r--r--src/ingen/main.cpp2
1 files changed, 1 insertions, 1 deletions
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))