0
0
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:
Martin Tournoij
2021-07-24 13:57:29 +02:00
committed by Bram Moolenaar
parent 5a234eb18e
commit 1a3e5747b7
14 changed files with 45 additions and 30 deletions

View File

@@ -4902,7 +4902,8 @@ iconv_enabled(int verbose)
{
verbose_enter();
semsg(_(e_loadlib),
hIconvDLL == 0 ? DYNAMIC_ICONV_DLL : DYNAMIC_MSVCRT_DLL);
hIconvDLL == 0 ? DYNAMIC_ICONV_DLL : DYNAMIC_MSVCRT_DLL,
GetWin32Error());
verbose_leave();
}
iconv_end();