1
0
mirror of https://github.com/VCMP-SqMod/SqMod.git synced 2024-11-08 08:47:17 +01:00

Update Path.cpp

This commit is contained in:
Sandu Liviu Catalin 2020-08-30 18:57:13 +03:00
parent 5114dcbffb
commit 25fb30140c

View File

@ -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();