gaim/gaim

Parents 10d5aff621f8
Children c99298e41b6d
dave142 in patch #1193896 noticed that the SetDllDirectory magic probably never worked... This fixes it.
--- a/src/win_gaim.c Mon May 02 22:52:08 2005 -0400
+++ b/src/win_gaim.c Tue May 03 00:39:20 2005 -0400
@@ -104,7 +104,7 @@
printf("GTK+ path found: %s\n", path);
if((hmod=GetModuleHandle("kernel32.dll"))) {
- MySetDllDirectory = (LPFNSETDLLDIRECTORY)GetProcAddress(hmod, "SetDllDirectory");
+ MySetDllDirectory = (LPFNSETDLLDIRECTORY)GetProcAddress(hmod, "SetDllDirectoryA");
if(!MySetDllDirectory)
printf("SetDllDirectory not supported\n");
}