mirror of
https://github.com/vim/vim.git
synced 2025-09-26 04:04:07 -04:00
updated for version 7.3.562
Problem: ":profdel" should not work when the +profile feature is disabled. Solution: Call ex_ni(). (Yasuhiro Matsumoto)
This commit is contained in:
@@ -596,10 +596,15 @@ ex_breakdel(eap)
|
|||||||
garray_T *gap;
|
garray_T *gap;
|
||||||
|
|
||||||
gap = &dbg_breakp;
|
gap = &dbg_breakp;
|
||||||
#ifdef FEAT_PROFILE
|
|
||||||
if (eap->cmdidx == CMD_profdel)
|
if (eap->cmdidx == CMD_profdel)
|
||||||
|
{
|
||||||
|
#ifdef FEAT_PROFILE
|
||||||
gap = &prof_ga;
|
gap = &prof_ga;
|
||||||
|
#else
|
||||||
|
ex_ni(eap);
|
||||||
|
return;
|
||||||
#endif
|
#endif
|
||||||
|
}
|
||||||
|
|
||||||
if (vim_isdigit(*eap->arg))
|
if (vim_isdigit(*eap->arg))
|
||||||
{
|
{
|
||||||
|
@@ -714,6 +714,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
562,
|
||||||
/**/
|
/**/
|
||||||
561,
|
561,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user