mirror of https://github.com/AxioDL/metaforce.git
Win32 fix
This commit is contained in:
parent
cd6ae55c07
commit
0408edf1be
|
@ -941,13 +941,13 @@ public:
|
||||||
auto it = relPath.cbegin();
|
auto it = relPath.cbegin();
|
||||||
if (*it == '/')
|
if (*it == '/')
|
||||||
{
|
{
|
||||||
ret.push_back(_S("/"));
|
ret.push_back("/");
|
||||||
++it;
|
++it;
|
||||||
}
|
}
|
||||||
std::string comp;
|
std::string comp;
|
||||||
for (; it != relPath.cend() ; ++it)
|
for (; it != relPath.cend() ; ++it)
|
||||||
{
|
{
|
||||||
if (*it == _S('/'))
|
if (*it == '/')
|
||||||
{
|
{
|
||||||
if (comp.empty())
|
if (comp.empty())
|
||||||
continue;
|
continue;
|
||||||
|
|
Loading…
Reference in New Issue