diff options
author | Martin Tournoij <martin@arp242.net> | 2021-07-24 13:57:29 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2021-07-24 13:57:29 +0200 |
commit | 1a3e5747b7df7ddda312bbfd18e04fc2122001fb (patch) | |
tree | df3916d14b86db869aa32ce5a032e4d7dc09f0fa /src/mbyte.c | |
parent | 5a234eb18e6e43408755bb24e813330306c11629 (diff) | |
download | vim-git-1a3e5747b7df7ddda312bbfd18e04fc2122001fb.tar.gz |
patch 8.2.3208: dynamic library load error does not mention why it failedv8.2.3208
Problem: Dynamic library load error does not mention why it failed.
Solution: Add the error message. (Martin Tournoij, closes #8621)
Diffstat (limited to 'src/mbyte.c')
-rw-r--r-- | src/mbyte.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mbyte.c b/src/mbyte.c index 6fb046d34..3d5ad7636 100644 --- a/src/mbyte.c +++ b/src/mbyte.c @@ -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(); |