Mercurial > vim
comparison src/if_tcl.c @ 5267:585b623a1aa3 v7.4b.010
updated for version 7.4b.010
Problem: Win32: Tcl library load does not use standard mechanism.
Solution: Call vimLoadLib() instead of LoadLibraryEx(). (Ken Takata)
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Fri, 02 Aug 2013 20:05:32 +0200 |
parents | 045fdc5b6056 |
children | 68056d414f09 |
comparison
equal
deleted
inserted
replaced
5266:d37fb0ea5c7a | 5267:585b623a1aa3 |
---|---|
193 { | 193 { |
194 int i; | 194 int i; |
195 | 195 |
196 if (hTclLib) | 196 if (hTclLib) |
197 return OK; | 197 return OK; |
198 if (!(hTclLib = LoadLibraryEx(libname, NULL, 0))) | 198 if (!(hTclLib = vimLoadLib(libname))) |
199 { | 199 { |
200 if (verbose) | 200 if (verbose) |
201 EMSG2(_(e_loadlib), libname); | 201 EMSG2(_(e_loadlib), libname); |
202 return FAIL; | 202 return FAIL; |
203 } | 203 } |