summaryrefslogtreecommitdiff
path: root/src/window.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/window.c')
-rw-r--r--src/window.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/window.c b/src/window.c
index b03e5ebae..7c88dc8e8 100644
--- a/src/window.c
+++ b/src/window.c
@@ -3090,7 +3090,7 @@ win_alloc(after)
}
#endif
#ifdef FEAT_EVAL
- var_init(&newwin->w_vars); /* init internal variables */
+ vars_init(&newwin->w_vars); /* init internal variables */
#endif
#ifdef FEAT_FOLDING
foldInitWin(newwin);
@@ -3134,7 +3134,7 @@ win_free(wp)
clear_winopt(&wp->w_allbuf_opt);
#ifdef FEAT_EVAL
- var_clear(&wp->w_vars); /* free all internal variables */
+ vars_clear(&wp->w_vars); /* free all internal variables */
#endif
if (prevwin == wp)