summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2022-01-21 12:12:43 -0800
committerGlenn Morris <rgm@gnu.org>2022-01-21 12:12:43 -0800
commit98355833ba0d7dc20742122334be1bfaefac7873 (patch)
treef31912b812ab1783917d7be32c151ef0bcade03a
parentadf00298b60e87f76c64b1ba68c0424df55982e1 (diff)
downloademacs-98355833ba0d7dc20742122334be1bfaefac7873.tar.gz
* src/keyboard.c (start_polling): Fix type mixup.
Flagged by --enable-check-lisp-object-type.
-rw-r--r--src/keyboard.c2
1 files changed, 1 insertions, 1 deletions
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));