Win32 fix

This commit is contained in:
Jack Andersen 2016-01-07 14:50:44 -10:00
parent cd6ae55c07
commit 0408edf1be
1 changed files with 2 additions and 2 deletions

View File

@ -941,13 +941,13 @@ public:
auto it = relPath.cbegin();
if (*it == '/')
{
ret.push_back(_S("/"));
ret.push_back("/");
++it;
}
std::string comp;
for (; it != relPath.cend() ; ++it)
{
if (*it == _S('/'))
if (*it == '/')
{
if (comp.empty())
continue;