From 98355833ba0d7dc20742122334be1bfaefac7873 Mon Sep 17 00:00:00 2001 From: Glenn Morris Date: Fri, 21 Jan 2022 12:12:43 -0800 Subject: [PATCH] * src/keyboard.c (start_polling): Fix type mixup. Flagged by --enable-check-lisp-object-type. --- src/keyboard.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/keyboard.c b/src/keyboard.c index d2919ed9f66..70e055a9df9 100644 --- a/src/keyboard.c +++ b/src/keyboard.c @@ -1941,7 +1941,7 @@ start_polling (void) a different interval, start a new one. */ if (NUMBERP (Vpolling_period) && (poll_timer == NULL - || !Fequal (Vpolling_period, poll_timer_time))) + || NILP (Fequal (Vpolling_period, poll_timer_time)))) { struct timespec interval = dtotimespec (XFLOATINT (Vpolling_period)); -- 2.39.5