From 38bdbd6c6f39e5bffad22ec956fa1383e04fa1ae Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Wed, 20 Jun 2012 15:48:57 +0200 Subject: [PATCH] updated for version 7.3.562 Problem: ":profdel" should not work when the +profile feature is disabled. Solution: Call ex_ni(). (Yasuhiro Matsumoto) --- src/ex_cmds2.c | 7 ++++++- src/version.c | 2 ++ 2 files changed, 8 insertions(+), 1 deletion(-) 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, /**/