2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-09 17:07:41 +00:00

Minor improvements

This commit is contained in:
Jack Andersen
2017-10-25 19:37:15 -10:00
parent b7208bfc5f
commit 5e99ee1d95
4 changed files with 7 additions and 0 deletions

View File

@@ -260,6 +260,8 @@ static hecl::SystemString MakePathArgAbsolute(const hecl::SystemString& arg,
#else
if (arg[0] == _S('/') || arg[0] == _S('\\'))
return arg;
if (cwd.back() == _S('/') || cwd.back() == _S('\\'))
return cwd + arg;
return cwd + _S('/') + arg;
#endif
}