From 2d383dda97dd0e7114a33481e56fbabf8ff05481 Mon Sep 17 00:00:00 2001 From: Daniel Collins Date: Tue, 9 Dec 2008 21:50:07 +0000 Subject: [PATCH] Fixed DLL loading bug --- src/ipxwrapper.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ipxwrapper.c b/src/ipxwrapper.c index f09eac3..6cdea8d 100644 --- a/src/ipxwrapper.c +++ b/src/ipxwrapper.c @@ -244,7 +244,7 @@ static HMODULE load_sysdll(char const *name) { char sysdir[1024], path[1024]; HMODULE ret = NULL; - GetSystemDirectory(path, 1024); + GetSystemDirectory(sysdir, 1024); snprintf(path, 1024, "%s\\%s", sysdir, name); ret = LoadLibrary(path);