diff options
Diffstat (limited to 'loader/module.c')
-rw-r--r-- | loader/module.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/loader/module.c b/loader/module.c index b6eebcf19d..d0f32d2537 100644 --- a/loader/module.c +++ b/loader/module.c @@ -393,9 +393,9 @@ HMODULE WINAPI LoadLibraryExA(LPCSTR libname, HANDLE hfile, DWORD flags) strncpy(path, libname, 511); else /* check default user path */ - strncpy(path, def_path, 300); + strncpy(path, codec_path, 300); } - else if (strcmp(def_path, listpath[i])) + else if (strcmp(codec_path, listpath[i])) /* path from the list */ strncpy(path, listpath[i], 300); else |