Fix reading ISO pathes with 2 following slashes

This commit is contained in:
Arthur Blot 2012-11-08 14:21:55 +01:00
parent 3681aab3ed
commit 449eceadba

View File

@ -260,6 +260,8 @@ ISOFileSystem::TreeEntry *ISOFileSystem::GetFromPath(std::string path)
if (path.length() == 0 || (path.length()==1 && path[0] == '/'))
return e;
path.erase(0, 1);
while (path[0] == '/')
path.erase(0, 1);
}
else
{