mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-09 03:07:41 +00:00
Iterator fix
This commit is contained in:
2
hecl/extern/boo
vendored
2
hecl/extern/boo
vendored
Submodule hecl/extern/boo updated: 6c3a35f15d...2cd7de7a28
@@ -323,7 +323,7 @@ ProjectRootPath SearchForProject(const SystemString& path, SystemString& subpath
|
||||
SystemString::const_iterator origEnd = testRoot.getAbsolutePath().end();
|
||||
while (end != origEnd && *end != _S('/') && *end != _S('\\'))
|
||||
++end;
|
||||
if (*end == _S('/') || *end == _S('\\'))
|
||||
if (end != origEnd && (*end == _S('/') || *end == _S('\\')))
|
||||
++end;
|
||||
subpathOut.assign(end, origEnd);
|
||||
return newRootPath;
|
||||
|
||||
Reference in New Issue
Block a user