[*] Dumb path bug
This commit is contained in:
parent
4e6f116925
commit
a1e77a471b
@ -111,7 +111,7 @@ namespace Aurora::IO::FS
|
||||
if (ch == "..")
|
||||
{
|
||||
auto i = result.size() - 1 - (result[result.size() - 1] == kPathSplitter);
|
||||
while (i >= 0 && result[i] != kPathSplitter)
|
||||
while (i > 0 && result[i] != kPathSplitter)
|
||||
{
|
||||
--i;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user