Remove the need for a preceeding / on android (Allow empty root path)

This commit is contained in:
baldurk committed 2017-11-29 19:01:23 +00:00
1 parent 59e38e30da
commit e189ae030c
3 files changed
+4 -3

No files matched your search

@@ -83,7 +83,7 @@ public:
FSNode *node = new FSNode();
node->parent = NULL;
node->parentIndex = 0;
node->file.filename = "/";
node->file.filename = homeDir.isEmpty() ? "" : "/";
node->file.flags = PathProperty::Directory;
roots.push_back(node);