Commit a20ec302 authored by Albert Gräf's avatar Albert Gräf

sys_expandpathelems: replacement for @pd_help should be the last element on...

sys_expandpathelems: replacement for @pd_help should be the last element on the path, not the first.
parent 90588ed7
......@@ -163,6 +163,8 @@ void sys_expandpathelems(const char *name, char *result)
else if (strstr(name, "@pd_help") != NULL)
{
t_namelist *path = sys_helppath;
while (path->nl_next)
path = path->nl_next;
sys_path_replace(name, interim, "@pd_help", path->nl_string);
//fprintf(stderr,"path->nl_string=<%s>\n", path->nl_string);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment