From ebbcb824baf770e42ad53c532905a329d762e94e Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Sat, 23 Oct 2010 14:02:54 +0200 Subject: updated for version 7.3.034 Problem: Win32: may be loading .dll from the wrong directory. Solution: Go to the Vim executable directory when opening a library. --- src/if_lua.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/if_lua.c') diff --git a/src/if_lua.c b/src/if_lua.c index 35ee3002c..3062de8cf 100644 --- a/src/if_lua.c +++ b/src/if_lua.c @@ -49,7 +49,7 @@ static const char LUAVIM_FREE[] = "luaV_free"; # define symbol_from_dll dlsym # define close_dll dlclose #else -# define load_dll LoadLibrary +# define load_dll vimLoadLib # define symbol_from_dll GetProcAddress # define close_dll FreeLibrary #endif -- cgit v1.2.1