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

This commit is contained in:
baldurk
2017-11-29 13:42:04 +00:00
parent 59e38e30da
commit e189ae030c
3 changed files with 4 additions and 3 deletions
@@ -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);