forked from aniani/vim
patch 8.2.3190: error messages are spread out
Problem: Error messages are spread out. Solution: Move error messages to errors.h and give them a clear name.
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user