mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2025-11-02 07:17:18 +01:00
Update Path.cpp
This commit is contained in:
@@ -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();
|
||||||
|
|||||||
Reference in New Issue
Block a user