mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 19:08:55 -04:00
allow spaces in Configrc search paths
This commit is contained in:
parent
2985db64a7
commit
a4d0d79e43
@ -52,10 +52,10 @@ get_config_path(const string &config_var_name, DSearchPath *&static_ptr) {
|
|||||||
if (!all_defs.empty()) {
|
if (!all_defs.empty()) {
|
||||||
Config::ConfigTable::Symbol::reverse_iterator si =
|
Config::ConfigTable::Symbol::reverse_iterator si =
|
||||||
all_defs.rbegin();
|
all_defs.rbegin();
|
||||||
(*static_ptr).append_path(ExecutionEnvironment::expand_string((*si).Val()));
|
(*static_ptr).append_path(ExecutionEnvironment::expand_string((*si).Val()), "");
|
||||||
++si;
|
++si;
|
||||||
while (si != all_defs.rend()) {
|
while (si != all_defs.rend()) {
|
||||||
(*static_ptr).append_path(ExecutionEnvironment::expand_string((*si).Val()));
|
(*static_ptr).append_path(ExecutionEnvironment::expand_string((*si).Val()), "");
|
||||||
++si;
|
++si;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user