# HG changeset patch # User Christian Brabandt # Date 1456092905 -3600 # Node ID 1f81c571d0e7b806d7cd74ac043257cac0a59435 # Parent d34c263b1fcc93200e71a82faf02490c38784a11 commit https://github.com/vim/vim/commit/5e83840756f6bb446d5cd8d026c1430b203645f1 Author: Bram Moolenaar Date: Sun Feb 21 23:12:41 2016 +0100 patch 7.4.1385 Problem: Compiler warning for using array. Solution: Use the right member name. (Yegappan Lakshmanan) diff --git a/src/eval.c b/src/eval.c --- a/src/eval.c +++ b/src/eval.c @@ -10135,7 +10135,7 @@ get_job_options(typval_T *tv, jobopt_T * 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 --- 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,