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

updated for version 7.0044

This commit is contained in:
Bram Moolenaar
2005-01-25 21:44:33 +00:00
parent 623fd5e206
commit 1fad5d49c9
2 changed files with 10 additions and 4 deletions

View File

@@ -3090,7 +3090,8 @@ win_alloc(after)
}
#endif
#ifdef FEAT_EVAL
vars_init(&newwin->w_vars); /* init internal variables */
/* init w: variables */
init_var_dict(&newwin->w_vars, &newwin->w_winvar);
#endif
#ifdef FEAT_FOLDING
foldInitWin(newwin);
@@ -3134,7 +3135,7 @@ win_free(wp)
clear_winopt(&wp->w_allbuf_opt);
#ifdef FEAT_EVAL
vars_clear(&wp->w_vars); /* free all internal variables */
vars_clear(&wp->w_vars.dv_hashtab); /* free all w: variables */
#endif
if (prevwin == wp)