Commit f6844c7b authored by Jonathan Wilkes's avatar Jonathan Wilkes
Browse files

Merge branch 'aggraef/purr-data-search-path-fix'

parents 47fe745a 66b70d6b
......@@ -625,8 +625,14 @@ void sys_loadpreferences( void)
sprintf(keybuf, "path%d", i+1);
if (!sys_getpreference(keybuf, prefbuf, MAXPDSTRING))
break;
else if (!check_exists(prefbuf)) // AG: ignore non-existent paths
continue;
else {
// AG: need to expand ~ et al here
char final_name[FILENAME_MAX];
sys_expandpathelems(prefbuf, final_name);
// AG: ignore non-existent paths
if (!check_exists(final_name))
continue;
}
sys_searchpath = namelist_append_files(sys_searchpath, prefbuf);
}
if (sys_getpreference("standardpath", prefbuf, MAXPDSTRING))
......
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