Core: Call CreateFullPath before using Backup directory

This commit is contained in:
JosJuice 2020-04-28 17:53:12 +02:00
parent fa7d6c8993
commit 95a0897491
1 changed files with 2 additions and 0 deletions

View File

@ -39,6 +39,8 @@ static bool CopyBackupFile(const std::string& path_from, const std::string& path
if (!File::Exists(path_from))
return false;
File::CreateFullPath(path_to);
return File::Copy(path_from, path_to);
}