summaryrefslogtreecommitdiff
path: root/src/undo.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2021-07-21 22:20:33 +0200
committerBram Moolenaar <Bram@vim.org>2021-07-21 22:20:33 +0200
commitd8e44476d84b5f0cc8c4de080a47a3a9af547028 (patch)
treec45296f474fb015dc94cedc81238377efc8e55b0 /src/undo.c
parent05bd9785fd0fd0102ab64554307bff0ec0ae34c1 (diff)
downloadvim-git-d8e44476d84b5f0cc8c4de080a47a3a9af547028.tar.gz
patch 8.2.3197: error messages are spread outv8.2.3197
Problem: Error messages are spread out. Solution: Move a few more error messages to errors.h.
Diffstat (limited to 'src/undo.c')
-rw-r--r--src/undo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/undo.c b/src/undo.c
index c16bcacde..331c1e676 100644
--- a/src/undo.c
+++ b/src/undo.c
@@ -324,7 +324,7 @@ undo_allowed(void)
// In the sandbox it's not allowed to change the text.
if (sandbox != 0)
{
- emsg(_(e_sandbox));
+ emsg(_(e_not_allowed_in_sandbox));
return FALSE;
}
#endif