0
0
mirror of https://github.com/vim/vim.git synced 2025-09-25 03:54:15 -04:00

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:
Bram Moolenaar
2021-07-20 21:07:36 +02:00
parent 9fa5dabedc
commit e29a27f6f8
29 changed files with 127 additions and 98 deletions

View File

@@ -5028,7 +5028,7 @@ do_return(
if ((cstack->cs_rettv[idx] = alloc_tv()) != NULL)
*(typval_T *)cstack->cs_rettv[idx] = *(typval_T *)rettv;
else
emsg(_(e_outofmem));
emsg(_(e_out_of_memory));
}
else
cstack->cs_rettv[idx] = NULL;