summaryrefslogtreecommitdiffstats
path: root/src/spell.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/spell.c')
-rw-r--r--src/spell.c2
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;