summaryrefslogtreecommitdiff
path: root/src/window.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2006-01-19 22:09:32 +0000
committerBram Moolenaar <Bram@vim.org>2006-01-19 22:09:32 +0000
commit05a7bb363b6ae132b7f2550be1a588e481a5dfa3 (patch)
tree97c44382074f466a7c5a3c31f8debe0127473ade /src/window.c
parentc32840f2674d4c6b06cfac8ec32791b5451bf31c (diff)
downloadvim-git-05a7bb363b6ae132b7f2550be1a588e481a5dfa3.tar.gz
updated for version 7.0182
Diffstat (limited to 'src/window.c')
-rw-r--r--src/window.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/window.c b/src/window.c
index 7d5018047..680c32017 100644
--- a/src/window.c
+++ b/src/window.c
@@ -2717,13 +2717,13 @@ win_alloc_first()
win_goto(wp)
win_T *wp;
{
-#ifdef FEAT_CMDWIN
- if (cmdwin_type != 0)
+ if (editing_cmdline())
{
beep_flush();
+ editing_cmdline_msg();
return;
}
-#endif
+
#ifdef FEAT_VISUAL
if (wp->w_buffer != curbuf)
reset_VIsual_and_resel();