maybe fix / problem on NT
This commit is contained in:
parent
ed5ff3d496
commit
2d3f7d0a5a
|
|
@ -160,8 +160,10 @@ convert_pathname(const string &unix_style_pathname) {
|
|||
windows_pathname = result;
|
||||
#else // HAVE_CYGWIN
|
||||
// Without Cygwin, just prefix $PANDA_ROOT.
|
||||
windows_pathname =
|
||||
get_panda_root() + front_to_back_slash(unix_style_pathname.substr(1));
|
||||
windows_pathname = get_panda_root();
|
||||
if (unix_style_pathname != "/") {
|
||||
windows_pathname += front_to_back_slash(unix_style_pathname.substr(1));
|
||||
}
|
||||
#endif // HAVE_CYGWIN
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue