summaryrefslogtreecommitdiffstats
path: root/src/clipboard.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/clipboard.c')
-rw-r--r--src/clipboard.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/clipboard.c b/src/clipboard.c
index 38596f589c..09d05c9eed 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 == ',')