]> granicus.if.org Git - vim/commitdiff
patch 8.2.1958: build failure with timers v8.2.1958
authorBram Moolenaar <Bram@vim.org>
Thu, 5 Nov 2020 18:34:41 +0000 (19:34 +0100)
committerBram Moolenaar <Bram@vim.org>
Thu, 5 Nov 2020 18:34:41 +0000 (19:34 +0100)
Problem:    Build failure with timers.
Solution:   Add missing change.

src/popupwin.c
src/version.c

index ed964568dce6e48179bee6b6e42ac66d08f55954..ab1b6f6b692a688e3e960e08ebfa274999db6268 100644 (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);
index ca5a513afecc90da59006549badf6a0077971939..ef4be7d63989b0b655f02341c1b8c77de272e248 100644 (file)
@@ -750,6 +750,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1958,
 /**/
     1957,
 /**/