0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -04:00

updated for version 7.0187

This commit is contained in:
Bram Moolenaar
2006-01-25 22:02:51 +00:00
parent 7df351eb8a
commit 28c258fd24
8 changed files with 113 additions and 17 deletions

View File

@@ -518,8 +518,9 @@ newwindow:
*/
if (bt_quickfix(curbuf))
{
sprintf((char *)cbuf, "split +%ldcc",
(long)curwin->w_cursor.lnum);
sprintf((char *)cbuf, "split +%ld%s",
(long)curwin->w_cursor.lnum,
(curwin->w_llist_ref == NULL) ? "cc" : "ll");
do_cmdline_cmd(cbuf);
}
#endif
@@ -816,6 +817,9 @@ win_split_ins(size, flags, newwin, dir)
wp->w_prev_fraction_row = curwin->w_prev_fraction_row;
#ifdef FEAT_JUMPLIST
copy_jumplist(curwin, wp);
#endif
#ifdef FEAT_QUICKFIX
copy_loclist(curwin, wp);
#endif
if (curwin->w_localdir != NULL)
wp->w_localdir = vim_strsave(curwin->w_localdir);
@@ -3182,6 +3186,10 @@ win_free(wp)
free_jumplist(wp);
#endif
#ifdef FEAT_QUICKFIX
qf_free_all(wp);
#endif
#ifdef FEAT_GUI
if (gui.in_use)
{