summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2012-06-20 15:48:57 +0200
committerBram Moolenaar <Bram@vim.org>2012-06-20 15:48:57 +0200
commit38bdbd6c6f39e5bffad22ec956fa1383e04fa1ae (patch)
tree75adfdfd7ee167668dfb97e1daabc3ddd15314aa
parent5e1a0a9a65b221d376a3ab85d06d918e651dd123 (diff)
updated for version 7.3.562v7.3.562
Problem: ":profdel" should not work when the +profile feature is disabled. Solution: Call ex_ni(). (Yasuhiro Matsumoto)
-rw-r--r--src/ex_cmds2.c7
-rw-r--r--src/version.c2
2 files changed, 8 insertions, 1 deletions
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
@@ -715,6 +715,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 562,
+/**/
561,
/**/
560,