Mercurial > vim
comparison src/popupwin.c @ 22820:d05319bbf63b v8.2.1958
patch 8.2.1958: build failure with timers
Commit: https://github.com/vim/vim/commit/b885b435d126d34475714e39ec1125bd4e1c77c6
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Nov 5 19:34:41 2020 +0100
patch 8.2.1958: build failure with timers
Problem: Build failure with timers.
Solution: Add missing change.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 05 Nov 2020 19:45:03 +0100 |
parents | ff29f22c93f7 |
children | 38324d4f1c94 |
comparison
equal
deleted
inserted
replaced
22819:b6df7d42c633 | 22820:d05319bbf63b |
---|---|
382 char_u *ptr = cbbuf; | 382 char_u *ptr = cbbuf; |
383 typval_T tv; | 383 typval_T tv; |
384 | 384 |
385 vim_snprintf((char *)cbbuf, sizeof(cbbuf), | 385 vim_snprintf((char *)cbbuf, sizeof(cbbuf), |
386 "{_ -> popup_close(%d)}", wp->w_id); | 386 "{_ -> popup_close(%d)}", wp->w_id); |
387 if (get_lambda_tv(&ptr, &tv, &EVALARG_EVALUATE) == OK) | 387 if (get_lambda_tv(&ptr, &tv, FALSE, &EVALARG_EVALUATE) == OK) |
388 { | 388 { |
389 wp->w_popup_timer = create_timer(time, 0); | 389 wp->w_popup_timer = create_timer(time, 0); |
390 wp->w_popup_timer->tr_callback = get_callback(&tv); | 390 wp->w_popup_timer->tr_callback = get_callback(&tv); |
391 clear_tv(&tv); | 391 clear_tv(&tv); |
392 } | 392 } |