diff options
author | Bram Moolenaar <Bram@vim.org> | 2021-12-31 22:49:24 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2021-12-31 22:49:24 +0000 |
commit | 436b5adc9770a2568209dd5ab1f98bd1afc91898 (patch) | |
tree | 623dc85ee9a396b16f939f44d38138f882edc229 /src/clipboard.c | |
parent | f1474d801bbdb73406dd3d1f931f515f99e86dfa (diff) | |
download | vim-git-436b5adc9770a2568209dd5ab1f98bd1afc91898.tar.gz |
patch 8.2.3961: error messages are spread outv8.2.3961
Problem: Error messages are spread out.
Solution: Move more errors to errors.h.
Diffstat (limited to 'src/clipboard.c')
-rw-r--r-- | src/clipboard.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/clipboard.c b/src/clipboard.c index 38596f589..09d05c9ee 100644 --- a/src/clipboard.c +++ b/src/clipboard.c @@ -1305,12 +1305,12 @@ check_clipboard_option(void) p += 8; new_exclude_prog = vim_regcomp(p, RE_MAGIC); if (new_exclude_prog == NULL) - errmsg = e_invarg; + errmsg = e_invalid_argument; break; } else { - errmsg = e_invarg; + errmsg = e_invalid_argument; break; } if (*p == ',') |