Overwrite the old search path with the new one

This commit is contained in:
Chris Robinson 2017-04-08 03:00:53 -07:00
parent 5e9f5693a4
commit f1a5b6b668

View File

@ -941,7 +941,7 @@ vector_EnumeratedHrtf EnumerateHrtf(const_al_string devname)
vector_al_string flist; vector_al_string flist;
size_t i; size_t i;
alstr_append_range(&pname, pathlist, end); alstr_copy_range(&pname, pathlist, end);
flist = SearchDataFiles(".mhr", alstr_get_cstr(pname)); flist = SearchDataFiles(".mhr", alstr_get_cstr(pname));
for(i = 0;i < VECTOR_SIZE(flist);i++) for(i = 0;i < VECTOR_SIZE(flist);i++)