mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-07-13 18:45:52 +00:00
Merge branch 'master' of https://github.com/AxioDL/hecl
This commit is contained in:
commit
97e257418f
@ -323,7 +323,7 @@ ProjectRootPath SearchForProject(const SystemString& path, SystemString& subpath
|
|||||||
SystemString::const_iterator origEnd = testRoot.getAbsolutePath().end();
|
SystemString::const_iterator origEnd = testRoot.getAbsolutePath().end();
|
||||||
while (end != origEnd && *end != _S('/') && *end != _S('\\'))
|
while (end != origEnd && *end != _S('/') && *end != _S('\\'))
|
||||||
++end;
|
++end;
|
||||||
if (*end == _S('/') || *end == _S('\\'))
|
if (end != origEnd && (*end == _S('/') || *end == _S('\\')))
|
||||||
++end;
|
++end;
|
||||||
subpathOut.assign(end, origEnd);
|
subpathOut.assign(end, origEnd);
|
||||||
return newRootPath;
|
return newRootPath;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user