1
0
forked from aniani/vim

patch 7.4.1385

Problem:    Compiler warning for using array.
Solution:   Use the right member name. (Yegappan Lakshmanan)
This commit is contained in:
Bram Moolenaar
2016-02-21 23:12:41 +01:00
parent f6fee0e2d4
commit 5e83840756
2 changed files with 3 additions and 1 deletions

View File

@@ -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;

View File

@@ -748,6 +748,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
1385,
/**/
1384,
/**/