summaryrefslogtreecommitdiffstats
path: root/src/ex_getln.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2022-01-01 15:58:22 +0000
committerBram Moolenaar <Bram@vim.org>2022-01-01 15:58:22 +0000
commit74409f62790a93daf0965c71da01ff76aa0fa5a5 (patch)
treeece55c806dc6fe451d24af66008ae1444d81d73d /src/ex_getln.c
parent56200eed62e59ad831f6564dcafe346e6f97ac20 (diff)
patch 8.2.3970: error messages are spread outv8.2.3970
Problem: Error messages are spread out. Solution: Move more errors to errors.h.
Diffstat (limited to 'src/ex_getln.c')
-rw-r--r--src/ex_getln.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ex_getln.c b/src/ex_getln.c
index 0be4503dfd..636dd38bf2 100644
--- a/src/ex_getln.c
+++ b/src/ex_getln.c
@@ -2641,8 +2641,8 @@ get_text_locked_msg(void)
return e_invalid_in_cmdline_window;
#endif
if (textwinlock != 0)
- return e_textwinlock;
- return e_textlock;
+ return e_not_allowed_to_change_text_or_change_window;
+ return e_not_allowed_to_change_text_here;
}
/*