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…
Reference in New Issue