mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 10:54:24 -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()) {
|
||||
Config::ConfigTable::Symbol::reverse_iterator si =
|
||||
all_defs.rbegin();
|
||||
(*static_ptr).append_path(ExecutionEnvironment::expand_string((*si).Val()));
|
||||
(*static_ptr).append_path(ExecutionEnvironment::expand_string((*si).Val()), "");
|
||||
++si;
|
||||
while (si != all_defs.rend()) {
|
||||
(*static_ptr).append_path(ExecutionEnvironment::expand_string((*si).Val()));
|
||||
(*static_ptr).append_path(ExecutionEnvironment::expand_string((*si).Val()), "");
|
||||
++si;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user