mirror of
https://github.com/solemnwarning/ipxwrapper
synced 2024-12-30 16:45:37 +01:00
Fixed DLL loading bug
This commit is contained in:
parent
4d28856065
commit
2d383dda97
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user