Fix compat_mkdir to use native path
This commit is contained in:
parent
a19d3e649e
commit
e9c0c901e2
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue