src: Fixed issues with relative paths
This commit is contained in:
@@ -191,6 +191,11 @@ FilePath FilePath::relativeTo(const FilePath& other) const
|
||||
r /= *itA;
|
||||
}
|
||||
|
||||
if (r.empty())
|
||||
{
|
||||
r = "./";
|
||||
}
|
||||
|
||||
return r;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user