diff options
author | Bram Moolenaar <Bram@vim.org> | 2012-06-20 15:48:57 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2012-06-20 15:48:57 +0200 |
commit | 38bdbd6c6f39e5bffad22ec956fa1383e04fa1ae (patch) | |
tree | 75adfdfd7ee167668dfb97e1daabc3ddd15314aa /src/ex_cmds2.c | |
parent | 5e1a0a9a65b221d376a3ab85d06d918e651dd123 (diff) | |
download | vim-git-38bdbd6c6f39e5bffad22ec956fa1383e04fa1ae.tar.gz |
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)
Diffstat (limited to 'src/ex_cmds2.c')
-rw-r--r-- | src/ex_cmds2.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/ex_cmds2.c b/src/ex_cmds2.c index 6b12c4245..5bc824255 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)) { |