0
0
mirror of https://github.com/vim/vim.git synced 2025-09-25 03:54:15 -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:
Bram Moolenaar
2012-06-20 15:48:57 +02:00
parent 5e1a0a9a65
commit 38bdbd6c6f
2 changed files with 8 additions and 1 deletions

View 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))
{