aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2017-04-08 03:00:53 -0700
committerChris Robinson <[email protected]>2017-04-08 03:00:53 -0700
commitf1a5b6b6681b1c9950266f2e6bec22dcba6cba97 (patch)
treedee7164be316d795871411bb567506260de99536
parent5e9f5693a4e28ab08028b05e77684cad6ddd185b (diff)
Overwrite the old search path with the new one
-rw-r--r--Alc/hrtf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/hrtf.c b/Alc/hrtf.c
index 52806b17..23817d66 100644
--- a/Alc/hrtf.c
+++ b/Alc/hrtf.c
@@ -941,7 +941,7 @@ vector_EnumeratedHrtf EnumerateHrtf(const_al_string devname)
vector_al_string flist;
size_t i;
- alstr_append_range(&pname, pathlist, end);
+ alstr_copy_range(&pname, pathlist, end);
flist = SearchDataFiles(".mhr", alstr_get_cstr(pname));
for(i = 0;i < VECTOR_SIZE(flist);i++)