mirror of https://github.com/axmolengine/axmol.git
Update CCFileUtils-apple.mm
This commit is contained in:
parent
b23c3ca38b
commit
732a11f74c
|
@ -172,11 +172,10 @@ bool FileUtilsApple::removeDirectory(std::string_view path) const
|
|||
}
|
||||
|
||||
std::string FileUtilsApple::getPathForDirectory(std::string_view dir,
|
||||
std::string_view resolutionDiretory,
|
||||
std::string_view searchPath) const
|
||||
{
|
||||
std::string path{searchPath};
|
||||
path.append(resolutionDiretory).append(dir);
|
||||
path.append(dir);
|
||||
|
||||
if (!path.empty() && path[path.length() - 1] == '/')
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue