summaryrefslogtreecommitdiff
path: root/plugins/ao/eng_psf
diff options
context:
space:
mode:
authorGravatar Alexey Yakovenko <wakeroid@gmail.com>2010-08-11 21:59:25 +0200
committerGravatar Alexey Yakovenko <wakeroid@gmail.com>2010-08-11 21:59:25 +0200
commit616ed122422c4651376db92e877b1d8e07bf55e3 (patch)
tree4c990933134ba3c3ca61d00536ac462982c08651 /plugins/ao/eng_psf
parenteb46e2ca1048b5d7938a48690cd1340c6f213f9e (diff)
fixed another bug in loading aux psf libraries
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)
{