Mercurial > vim
changeset 2258:772bfca06c18 vim73
Fix crash when using ":grep".
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Mon, 07 Jun 2010 23:07:44 +0200 |
parents | 373ec436a82a |
children | 9ea6208610ec |
files | src/fileio.c |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/fileio.c +++ b/src/fileio.c @@ -8792,6 +8792,7 @@ aucmd_prepbuf(aco, buf) aco->use_aucmd_win = TRUE; aucmd_win_used = TRUE; aucmd_win->w_buffer = buf; + aucmd_win->w_s = &buf->b_s; ++buf->b_nwindows; win_init_empty(aucmd_win); /* set cursor and topline to safe values */ vim_free(aucmd_win->w_localdir);