diff options
author | Bram Moolenaar <Bram@vim.org> | 2021-07-20 21:07:36 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2021-07-20 21:07:36 +0200 |
commit | e29a27f6f8eef8f00d3c2d4cd9811d81cf3026b3 (patch) | |
tree | eb8bd787e936db02a1617fb033aed2e224b3bbd3 /src/spell.c | |
parent | 9fa5dabedc4ed5af85773413e91c2fdbe4cb9f0a (diff) |
patch 8.2.3190: error messages are spread outv8.2.3190
Problem: Error messages are spread out.
Solution: Move error messages to errors.h and give them a clear name.
Diffstat (limited to 'src/spell.c')
-rw-r--r-- | src/spell.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/spell.c b/src/spell.c index 0b693c7d7b..46912ffdf3 100644 --- a/src/spell.c +++ b/src/spell.c @@ -2137,7 +2137,7 @@ did_set_spelllang(win_T *wp) if (ga_grow(&ga, 1) == FAIL) { ga_clear(&ga); - ret_msg = e_outofmem; + ret_msg = e_out_of_memory; goto theend; } LANGP_ENTRY(ga, ga.ga_len)->lp_slang = slang; |