summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/eval.c2
-rw-r--r--src/version.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/src/eval.c b/src/eval.c
index 0d38e11ba..3fb06d00e 100644
--- a/src/eval.c
+++ b/src/eval.c
@@ -10135,7 +10135,7 @@ get_job_options(typval_T *tv, jobopt_T *opt, int supported)
break;
opt->jo_set |= JO_EXIT_CB;
opt->jo_exit_cb = get_tv_string_buf_chk(item, opt->jo_ecb_buf);
- if (opt->jo_ecb_buf == NULL)
+ if (opt->jo_exit_cb == NULL)
{
EMSG2(_(e_invarg2), "exit-cb");
return FAIL;
diff --git a/src/version.c b/src/version.c
index 81e4617d0..9e2f4bd81 100644
--- a/src/version.c
+++ b/src/version.c
@@ -749,6 +749,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 1385,
+/**/
1384,
/**/
1383,