From: Glenn Morris Date: Fri, 21 Jan 2022 20:12:43 +0000 (-0800) Subject: * src/keyboard.c (start_polling): Fix type mixup. X-Git-Tag: emacs-29.0.90~2877^2~7 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=98355833ba0d7dc20742122334be1bfaefac7873;p=emacs.git * src/keyboard.c (start_polling): Fix type mixup. Flagged by --enable-check-lisp-object-type. --- 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));