[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 98355833ba: * src/keyboard.c (start_polling): Fix type mixup.
From: |
Glenn Morris |
Subject: |
master 98355833ba: * src/keyboard.c (start_polling): Fix type mixup. |
Date: |
Fri, 21 Jan 2022 15:13:25 -0500 (EST) |
branch: master
commit 98355833ba0d7dc20742122334be1bfaefac7873
Author: Glenn Morris <rgm@gnu.org>
Commit: Glenn Morris <rgm@gnu.org>
* 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 d2919ed9f6..70e055a9df 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));
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master 98355833ba: * src/keyboard.c (start_polling): Fix type mixup.,
Glenn Morris <=