commit | d82a47dd0493ee976aa3f15ecdc9aea7da6ad5bf | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Wed Jan 05 20:24:39 2022 +0000 |
committer | Bram Moolenaar <Bram@vim.org> | Wed Jan 05 20:24:39 2022 +0000 |
tree | 604109254c7057942fce5c1af26fdd1bc36c066f | |
parent | bb8cac56d9c398a2b546d9c81c15e8c3d8fd811e [diff] [blame] |
patch 8.2.4012: error messages are spread out Problem: Error messages are spread out. Solution: Move the last error messages to errors.h.
diff --git a/src/vim9compile.c b/src/vim9compile.c index f1a6a03..da93c1b 100644 --- a/src/vim9compile.c +++ b/src/vim9compile.c
@@ -1109,7 +1109,7 @@ *dest = dest_option; if (cmdidx == CMD_final || cmdidx == CMD_const) { - emsg(_(e_cannot_lock_an_option)); + emsg(_(e_cannot_lock_option)); return FAIL; } p = name;