mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-29 16:20:11 -04:00
*** empty log message ***
This commit is contained in:
parent
eed2cb7fa5
commit
846566100f
@ -69,12 +69,11 @@ convert_pathname(const string &unix_style_pathname) {
|
|||||||
// This is a pathname that begins with a single letter. That must
|
// This is a pathname that begins with a single letter. That must
|
||||||
// be the drive letter.
|
// be the drive letter.
|
||||||
windows_pathname =
|
windows_pathname =
|
||||||
toupper(unix_style_pathname[1]) + ":" +
|
string(1, toupper(unix_style_pathname[1])) + ":" +
|
||||||
front_to_back_slash(unix_style_pathname.substr(2));
|
front_to_back_slash(unix_style_pathname.substr(2));
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
// It does not begin with a single letter, so prefix "PANDA_ROOT".
|
// It does not begin with a single letter, so prefix "PANDA_ROOT".
|
||||||
|
|
||||||
static string panda_root;
|
static string panda_root;
|
||||||
static bool got_panda_root = false;
|
static bool got_panda_root = false;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user