summaryrefslogtreecommitdiffstats
path: root/src/time.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2020-11-05 20:50:51 +0100
committerBram Moolenaar <Bram@vim.org>2020-11-05 20:50:51 +0100
commit22286895fce0e45e42126c7f2e35ebf43bc625d9 (patch)
tree724167479bb64dc64279cc35319a533a82e704c1 /src/time.c
parent0fd797eacd569a0680a86452c18713eacf6608fe (diff)
patch 8.2.1961: various comments can be improvedv8.2.1961
Problem: Various comments can be improved. Solution: Various comment adjustments.
Diffstat (limited to 'src/time.c')
-rw-r--r--src/time.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/time.c b/src/time.c
index cc29d0d398..d1cf21b6bc 100644
--- a/src/time.c
+++ b/src/time.c
@@ -497,10 +497,12 @@ check_due_timer(void)
may_garbage_collect = FALSE;
save_vimvars(&vvsave);
+ // Invoke the callback.
timer->tr_firing = TRUE;
timer_callback(timer);
timer->tr_firing = FALSE;
+ // Restore stuff.
timer_next = timer->tr_next;
did_one = TRUE;
timer_busy = save_timer_busy;