src: Fixed issues with relative paths

This commit is contained in:
Eberhard Graether
2017-02-13 22:45:59 +01:00
parent 1d133492ed
commit be82e2a24e
3 changed files with 17 additions and 0 deletions
+5
View File
@@ -191,6 +191,11 @@ FilePath FilePath::relativeTo(const FilePath& other) const
r /= *itA;
}
if (r.empty())
{
r = "./";
}
return r;
}