forked from aniani/vim
patch 8.2.3961: error messages are spread out
Problem: Error messages are spread out. Solution: Move more errors to errors.h.
This commit is contained in:
@@ -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 == ',')
|
||||
|
Reference in New Issue
Block a user