summaryrefslogtreecommitdiff
path: root/plugins/ao/eng_psf
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/ao/eng_psf')
-rw-r--r--plugins/ao/eng_psf/eng_psf.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/ao/eng_psf/eng_psf.c b/plugins/ao/eng_psf/eng_psf.c
index 8101557b..9f68280a 100644
--- a/plugins/ao/eng_psf/eng_psf.c
+++ b/plugins/ao/eng_psf/eng_psf.c
@@ -236,13 +236,13 @@ void *psf_start(const char *path, uint8 *buffer, uint32 length)
e++;
memcpy (libpath, path, e-path);
libpath[e-path] = 0;
- strcat (libpath, s->c->lib);
+ strcat (libpath, s->c->libaux[i]);
}
else {
- strcpy (libpath, s->c->lib);
- }
+ strcpy (libpath, s->c->libaux[i]);
+ }
- trace ("Loading aux library: %s\n", s->c->libaux[i]);
+ trace ("Loading aux library: %s\n", libpath);
if (ao_get_lib(libpath, &lib_raw_file, &tmp_length) != AO_SUCCESS)
{