summaryrefslogtreecommitdiff
path: root/src/window.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2005-01-25 21:44:33 +0000
committerBram Moolenaar <Bram@vim.org>2005-01-25 21:44:33 +0000
commit1fad5d49c918518c392a0b8b665d9447ede6c201 (patch)
treef2389205447d3957b011ce6f9f61a570e3f6d76b /src/window.c
parent623fd5e206d3e1e1f1f9cfa18656b263995a4cf2 (diff)
downloadvim-git-1fad5d49c918518c392a0b8b665d9447ede6c201.tar.gz
updated for version 7.0044
Diffstat (limited to 'src/window.c')
-rw-r--r--src/window.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/window.c b/src/window.c
index 7c88dc8e8..ec9c39e44 100644
--- a/src/window.c
+++ b/src/window.c
@@ -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)