Mercurial > vim
diff src/spellfile.c @ 26865:bce848ec8b1b v8.2.3961
patch 8.2.3961: error messages are spread out
Commit: https://github.com/vim/vim/commit/436b5adc9770a2568209dd5ab1f98bd1afc91898
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Dec 31 22:49:24 2021 +0000
patch 8.2.3961: error messages are spread out
Problem: Error messages are spread out.
Solution: Move more errors to errors.h.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 01 Jan 2022 00:00:04 +0100 |
parents | 806f31579357 |
children | 06a137af96f8 |
line wrap: on
line diff
--- a/src/spellfile.c +++ b/src/spellfile.c @@ -5963,7 +5963,7 @@ mkspell( } if (incount <= 0) - emsg(_(e_invarg)); // need at least output and input names + emsg(_(e_invalid_argument)); // need at least output and input names else if (vim_strchr(gettail(wfname), '_') != NULL) emsg(_("E751: Output file name must not have region name")); else if (incount > MAXREGIONS)