mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-08 16:24:55 +00:00
Update submodules
This commit is contained in:
@@ -222,7 +222,7 @@ bool Compiler::includeFile(SystemStringView file, std::string& out, int depth) {
|
||||
SystemString directory;
|
||||
auto slashPos = file.find_last_of(_SYS_STR("/\\"));
|
||||
if (slashPos != SystemString::npos)
|
||||
directory = SystemString(file.begin(), file.begin() + slashPos);
|
||||
directory = SystemString(file.data(), slashPos);
|
||||
else
|
||||
directory = _SYS_STR(".");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user