diff --git a/Core/FileSystems/MetaFileSystem.cpp b/Core/FileSystems/MetaFileSystem.cpp index fdc85c7f3d..594582c06b 100644 --- a/Core/FileSystems/MetaFileSystem.cpp +++ b/Core/FileSystems/MetaFileSystem.cpp @@ -383,7 +383,7 @@ int MetaFileSystem::RenameFile(const std::string &from, const std::string &to) if (MapFilePath(from, of, &osystem)) { // If it's a relative path, it seems to always use from's filesystem. - if (to.find(':/') != to.npos) + if (to.find(":/") != to.npos) { if (!MapFilePath(to, rf, &rsystem)) return -1;