1
0
forked from aniani/vim

patch 8.2.1958: build failure with timers

Problem:    Build failure with timers.
Solution:   Add missing change.
This commit is contained in:
Bram Moolenaar
2020-11-05 19:34:41 +01:00
parent fabc3ca896
commit b885b435d1
2 changed files with 3 additions and 1 deletions

View File

@@ -384,7 +384,7 @@ popup_add_timeout(win_T *wp, int time)
vim_snprintf((char *)cbbuf, sizeof(cbbuf),
"{_ -> popup_close(%d)}", wp->w_id);
if (get_lambda_tv(&ptr, &tv, &EVALARG_EVALUATE) == OK)
if (get_lambda_tv(&ptr, &tv, FALSE, &EVALARG_EVALUATE) == OK)
{
wp->w_popup_timer = create_timer(time, 0);
wp->w_popup_timer->tr_callback = get_callback(&tv);