mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -04:00
patch 8.0.0074
Problem: Cannot make Vim fail on an internal error. Solution: Add IEMSG() and IEMSG2(). (Domenique Pelle) Avoid reporting an internal error without mentioning where.
This commit is contained in:
@@ -2538,7 +2538,7 @@ win_close_othertab(win_T *win, int free_buf, tabpage_T *tp)
|
||||
;
|
||||
if (ptp == NULL)
|
||||
{
|
||||
EMSG2(_(e_intern2), "win_close_othertab()");
|
||||
internal_error("win_close_othertab()");
|
||||
return;
|
||||
}
|
||||
ptp->tp_next = tp->tp_next;
|
||||
|
Reference in New Issue
Block a user