commit | 95f096030ed1a8afea028f2ea295d6f6a70f466f | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Thu Nov 10 20:01:45 2016 +0100 |
committer | Bram Moolenaar <Bram@vim.org> | Thu Nov 10 20:01:45 2016 +0100 |
tree | 9b1dcdbbe678ad1a3152f5cfd70a136efce6bc92 | |
parent | 459ca563128f2edb7e3bb190090bbb755a56dd55 [diff] [blame] |
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.
diff --git a/src/window.c b/src/window.c index c4448b7..8e53368 100644 --- a/src/window.c +++ b/src/window.c
@@ -2538,7 +2538,7 @@ ; if (ptp == NULL) { - EMSG2(_(e_intern2), "win_close_othertab()"); + internal_error("win_close_othertab()"); return; } ptp->tp_next = tp->tp_next;