mirror of
https://github.com/neovim/neovim.git
synced 2025-09-15 07:48:18 +00:00
vim-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.
95f096030e
Signed-off-by: Michael Schupikov <michael@schupikov.de>
This commit is contained in:

committed by
James McCoy

parent
6ff13d78b7
commit
d5bce42b52
@@ -2115,7 +2115,7 @@ void win_close_othertab(win_T *win, int free_buf, tabpage_T *tp)
|
||||
ptp = ptp->tp_next)
|
||||
;
|
||||
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