mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-01 17:35:34 -04:00
Fixed a bug in get_panda_root
This commit is contained in:
parent
5f4d36e968
commit
818cf9d7a5
@ -138,7 +138,7 @@ get_panda_root() {
|
||||
panda_root = "c:/cygwin";
|
||||
}
|
||||
|
||||
if (panda_root.empty() || panda_root[panda_root.length() - 1] != '\\') {
|
||||
if (!panda_root.empty() || panda_root[panda_root.length() - 1] != '\\') {
|
||||
panda_root += '\\';
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user