aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/event/time.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nvim/event/time.c')
-rw-r--r--src/nvim/event/time.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/event/time.c b/src/nvim/event/time.c
index f68a66345f..77260546db 100644
--- a/src/nvim/event/time.c
+++ b/src/nvim/event/time.c
@@ -51,7 +51,7 @@ static void time_watcher_cb(uv_timer_t *handle)
FUNC_ATTR_NONNULL_ALL
{
TimeWatcher *watcher = handle->data;
- if (watcher->blockable && !queue_empty(watcher->events)) {
+ if (watcher->blockable && !multiqueue_empty(watcher->events)) {
// the timer blocked and there already is an unprocessed event waiting
return;
}