mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2024-11-08 00:37:15 +01:00
Update Path.cpp
This commit is contained in:
parent
5114dcbffb
commit
25fb30140c
@ -974,7 +974,7 @@ SysPath & SysPath::Push(String && dir)
|
||||
// Does it refer to a parent directory?
|
||||
if (dir.compare("..") == 0)
|
||||
{
|
||||
// Is out last directory already a reference to a parent?
|
||||
// Is our last directory already a reference to a parent?
|
||||
if (!m_Dirs.empty() && m_Dirs.back().compare("..") != 0)
|
||||
{
|
||||
m_Dirs.pop_back();
|
||||
|
Loading…
Reference in New Issue
Block a user