Darn, sorry, missed a typo.

This commit is contained in:
Unknown W. Brackets
2013-03-31 23:56:21 -07:00
parent eeafcaff52
commit 417ce893dc

View File

@@ -138,7 +138,7 @@ ISOFileSystem::ISOFileSystem(IHandleAllocator *_hAlloc, BlockDevice *_blockDevic
if (!_restrictPath.empty())
{
size_t pos = _restrictPath.find_first_not_of('/');
while (!_restrictPath.empty())
while (pos != _restrictPath.npos)
{
size_t endPos = _restrictPath.find_first_of('/', pos);
if (pos != endPos)