From d2944e6a298e824e5084ac0dfd8701ff9cd1a523 Mon Sep 17 00:00:00 2001 From: "Justin M. Keyes" Date: Thu, 17 May 2018 08:16:58 +0200 Subject: mf_open(): never fails (except for OOM) --- src/nvim/spell.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/nvim/spell.c') diff --git a/src/nvim/spell.c b/src/nvim/spell.c index 22390557b6..686962704a 100644 --- a/src/nvim/spell.c +++ b/src/nvim/spell.c @@ -2488,7 +2488,7 @@ buf_T *open_spellbuf(void) buf->b_spell = true; buf->b_p_swf = true; // may create a swap file if (ml_open(buf) == FAIL) { - ELOG("Error opening a new memline"); + abort(); } ml_open_file(buf); // create swap file now -- cgit