Fix compat_mkdir to use native path

This commit is contained in:
Alexander Batalov 2022-06-13 19:48:30 +03:00
parent a19d3e649e
commit e9c0c901e2
1 changed files with 1 additions and 1 deletions

View File

@ -137,7 +137,7 @@ int compat_mkdir(const char* path)
compat_windows_path_to_native(nativePath);
std::error_code ec;
if (std::filesystem::create_directory(std::filesystem::path(path), ec)) {
if (std::filesystem::create_directory(std::filesystem::path(nativePath), ec)) {
return 0;
}