]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
updated for version 7.3.562 v7.3.562
authorBram Moolenaar <Bram@vim.org>
Wed, 20 Jun 2012 13:48:57 +0000 (15:48 +0200)
committerBram Moolenaar <Bram@vim.org>
Wed, 20 Jun 2012 13:48:57 +0000 (15:48 +0200)
Problem:    ":profdel" should not work when the +profile feature is disabled.
Solution:   Call ex_ni(). (Yasuhiro Matsumoto)

src/ex_cmds2.c
src/version.c

index 6b12c4245acad00ed4f9225687b65ff8ed109ba1..5bc82425551bb80ddf10113c01d74da40f38b236 100644 (file)
@@ -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))
     {
index 93a8e8fffaf610f6300d23e4c0c75bb7ba825389..0b5473858a202c3eab5e9cb136126b9be7758f29 100644 (file)
@@ -714,6 +714,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    562,
 /**/
     561,
 /**/