diff options
author | Bram Moolenaar <Bram@vim.org> | 2006-01-21 22:09:43 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2006-01-21 22:09:43 +0000 |
commit | b1b715d1fb12f935a524dbaf2c2685a8bc0015a3 (patch) | |
tree | 737b17ab9c59d604a7c6eccc745f9d4eb57e667c /src/window.c | |
parent | b71eaaeaa8193b0cbb67496de6ad16ced80b8b09 (diff) | |
download | vim-git-b1b715d1fb12f935a524dbaf2c2685a8bc0015a3.tar.gz |
updated for version 7.0184
Diffstat (limited to 'src/window.c')
-rw-r--r-- | src/window.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/window.c b/src/window.c index a02180594..bb2647cff 100644 --- a/src/window.c +++ b/src/window.c @@ -121,6 +121,12 @@ do_window(nchar, Prenum, xchar) #ifdef FEAT_VISUAL reset_VIsual_and_resel(); /* stop Visual mode */ #endif +#ifdef FEAT_QUICKFIX + /* When splitting the quickfix window open a new buffer in it, + * don't replicate the quickfix buffer. */ + if (bt_quickfix(curbuf)) + goto newwindow; +#endif #ifdef FEAT_GUI need_mouse_correct = TRUE; #endif @@ -162,6 +168,9 @@ do_window(nchar, Prenum, xchar) #ifdef FEAT_VISUAL reset_VIsual_and_resel(); /* stop Visual mode */ #endif +#ifdef FEAT_QUICKFIX +newwindow: +#endif if (Prenum) sprintf((char *)cbuf, "%ld", Prenum); /* window height */ else |