diff --git a/pd/src/s_path.c b/pd/src/s_path.c index 8fcde1e2a819e572d6f86bfb084b45a88fdd55ab..5a2b6bdbb858abab1d7af16b29e204b9dc1bd827 100644 --- a/pd/src/s_path.c +++ b/pd/src/s_path.c @@ -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); }