From: Bram Moolenaar Date: Sun, 21 Feb 2016 22:12:41 +0000 (+0100) Subject: patch 7.4.1385 X-Git-Tag: v7.4.1385 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5e83840756f6bb446d5cd8d026c1430b203645f1;p=thirdparty%2Fvim.git 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 index 0d38e11ba8..3fb06d00ea 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 81e4617d0e..9e2f4bd81b 100644 --- a/src/version.c +++ b/src/version.c @@ -748,6 +748,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 1385, /**/ 1384, /**/