forked from aniani/vim
patch 8.2.3208: dynamic library load error does not mention why it failed
Problem: Dynamic library load error does not mention why it failed. Solution: Add the error message. (Martin Tournoij, closes #8621)
This commit is contained in:
committed by
Bram Moolenaar
parent
5a234eb18e
commit
1a3e5747b7
@@ -668,14 +668,14 @@ mzscheme_runtime_link_init(char *sch_dll, char *gc_dll, int verbose)
|
||||
if (!hMzGC)
|
||||
{
|
||||
if (verbose)
|
||||
semsg(_(e_loadlib), gc_dll);
|
||||
semsg(_(e_loadlib), gc_dll, GetWin32Error());
|
||||
return FAIL;
|
||||
}
|
||||
|
||||
if (!hMzSch)
|
||||
{
|
||||
if (verbose)
|
||||
semsg(_(e_loadlib), sch_dll);
|
||||
semsg(_(e_loadlib), sch_dll, GetWin32Error());
|
||||
return FAIL;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user