Commit e3989b18 authored by Brad King's avatar Brad King
Browse files

SystemTools: Restore GetCurrentWorkingDirectory slash conversion on Windows

Since commit 019afb6e (SystemTools: Drop GetCurrentWorkingDirectory
'collapse' argument, 2020-04-03) the return value of this method uses
backslashes.  Restore conversion to forward slashes.
parent 377ba41e
......@@ -3124,6 +3124,7 @@ std::string SystemTools::GetCurrentWorkingDirectory()
std::string path;
if (cwd) {
path = cwd;
SystemTools::ConvertToUnixSlashes(path);
}
return path;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment