mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -04:00
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
@@ -6862,8 +6862,9 @@ dyn_winpty_init(int verbose)
|
||||
if (!hWinPtyDLL)
|
||||
{
|
||||
if (verbose)
|
||||
semsg(_(e_loadlib), *p_winptydll != NUL ? p_winptydll
|
||||
: (char_u *)WINPTY_DLL);
|
||||
semsg(_(e_loadlib),
|
||||
(*p_winptydll != NUL ? p_winptydll : (char_u *)WINPTY_DLL),
|
||||
GetWin32Error());
|
||||
return FAIL;
|
||||
}
|
||||
for (i = 0; winpty_entry[i].name != NULL
|
||||
|
Reference in New Issue
Block a user