Skip to content
Snippets Groups Projects
Commit a20ec302 authored by Albert Gräf's avatar Albert Gräf
Browse files

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
No related branches found
No related tags found
No related merge requests found
......@@ -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);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment