From: Bram Moolenaar Date: Wed, 20 Jun 2012 13:48:57 +0000 (+0200) Subject: updated for version 7.3.562 X-Git-Tag: v7.3.562 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=38bdbd6c6f39e5bffad22ec956fa1383e04fa1ae;p=thirdparty%2Fvim.git updated for version 7.3.562 Problem: ":profdel" should not work when the +profile feature is disabled. Solution: Call ex_ni(). (Yasuhiro Matsumoto) --- diff --git a/src/ex_cmds2.c b/src/ex_cmds2.c index 6b12c4245a..5bc8242555 100644 --- a/src/ex_cmds2.c +++ b/src/ex_cmds2.c @@ -596,10 +596,15 @@ ex_breakdel(eap) garray_T *gap; gap = &dbg_breakp; -#ifdef FEAT_PROFILE if (eap->cmdidx == CMD_profdel) + { +#ifdef FEAT_PROFILE gap = &prof_ga; +#else + ex_ni(eap); + return; #endif + } if (vim_isdigit(*eap->arg)) { diff --git a/src/version.c b/src/version.c index 93a8e8fffa..0b5473858a 100644 --- a/src/version.c +++ b/src/version.c @@ -714,6 +714,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 562, /**/ 561, /**/