diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2018-05-17 08:16:58 +0200 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2018-05-17 09:03:44 +0200 |
commit | d2944e6a298e824e5084ac0dfd8701ff9cd1a523 (patch) | |
tree | 9b38b0944d078da2b0fa30f2bfe70d6c5233e89b /src/nvim/spell.c | |
parent | c2d1684e05f62e66e4820c6f86b80f5c9187365f (diff) | |
download | rneovim-d2944e6a298e824e5084ac0dfd8701ff9cd1a523.tar.gz rneovim-d2944e6a298e824e5084ac0dfd8701ff9cd1a523.tar.bz2 rneovim-d2944e6a298e824e5084ac0dfd8701ff9cd1a523.zip |
mf_open(): never fails (except for OOM)
Diffstat (limited to 'src/nvim/spell.c')
-rw-r--r-- | src/nvim/spell.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 |