diff options
author | Bram Moolenaar <Bram@vim.org> | 2016-11-10 20:01:45 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2016-11-10 20:01:45 +0100 |
commit | 95f096030ed1a8afea028f2ea295d6f6a70f466f (patch) | |
tree | 9b1dcdbbe678ad1a3152f5cfd70a136efce6bc92 /src/window.c | |
parent | 459ca563128f2edb7e3bb190090bbb755a56dd55 (diff) | |
download | vim-95f096030ed1a8afea028f2ea295d6f6a70f466f.zip |
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.
Diffstat (limited to 'src/window.c')
-rw-r--r-- | src/window.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/window.c b/src/window.c index c4448b77e..8e5336883 100644 --- a/src/window.c +++ b/src/window.c @@ -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; |