mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2025-01-31 09:57:14 +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?
|
// Does it refer to a parent directory?
|
||||||
if (dir.compare("..") == 0)
|
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)
|
if (!m_Dirs.empty() && m_Dirs.back().compare("..") != 0)
|
||||||
{
|
{
|
||||||
m_Dirs.pop_back();
|
m_Dirs.pop_back();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user