]> git.eshelyaron.com Git - emacs.git/commitdiff
* src/keyboard.c (start_polling): Fix type mixup.
authorGlenn Morris <rgm@gnu.org>
Fri, 21 Jan 2022 20:12:43 +0000 (12:12 -0800)
committerGlenn Morris <rgm@gnu.org>
Fri, 21 Jan 2022 20:12:43 +0000 (12:12 -0800)
Flagged by --enable-check-lisp-object-type.

src/keyboard.c

index d2919ed9f66fc75f2e1e710b91d17d744a855b3e..70e055a9df9b60cb4482bed6e9ae415d2f2002ca 100644 (file)
@@ -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));