From 616ed122422c4651376db92e877b1d8e07bf55e3 Mon Sep 17 00:00:00 2001 From: Alexey Yakovenko Date: Wed, 11 Aug 2010 21:59:25 +0200 Subject: fixed another bug in loading aux psf libraries --- plugins/ao/eng_psf/eng_psf.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'plugins/ao/eng_psf') 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) { -- cgit v1.2.3