comparison src/terminal.c @ 25342:c4298ed56ffa v8.2.3208

patch 8.2.3208: dynamic library load error does not mention why it failed Commit: https://github.com/vim/vim/commit/1a3e5747b7df7ddda312bbfd18e04fc2122001fb Author: Martin Tournoij <martin@arp242.net> Date: Sat Jul 24 13:57:29 2021 +0200 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 https://github.com/vim/vim/issues/8621)
author Bram Moolenaar <Bram@vim.org>
date Sat, 24 Jul 2021 14:00:05 +0200
parents e2be9f3c5907
children e8e2c4d33b9b
comparison
equal deleted inserted replaced
25341:040fe01278e8 25342:c4298ed56ffa
6860 if (!hWinPtyDLL) 6860 if (!hWinPtyDLL)
6861 hWinPtyDLL = vimLoadLib(WINPTY_DLL); 6861 hWinPtyDLL = vimLoadLib(WINPTY_DLL);
6862 if (!hWinPtyDLL) 6862 if (!hWinPtyDLL)
6863 { 6863 {
6864 if (verbose) 6864 if (verbose)
6865 semsg(_(e_loadlib), *p_winptydll != NUL ? p_winptydll 6865 semsg(_(e_loadlib),
6866 : (char_u *)WINPTY_DLL); 6866 (*p_winptydll != NUL ? p_winptydll : (char_u *)WINPTY_DLL),
6867 GetWin32Error());
6867 return FAIL; 6868 return FAIL;
6868 } 6869 }
6869 for (i = 0; winpty_entry[i].name != NULL 6870 for (i = 0; winpty_entry[i].name != NULL
6870 && winpty_entry[i].ptr != NULL; ++i) 6871 && winpty_entry[i].ptr != NULL; ++i)
6871 { 6872 {