aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/dispnew.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dispnew.c b/src/dispnew.c
index 97c6a446a6b..61ca717079b 100644
--- a/src/dispnew.c
+++ b/src/dispnew.c
@@ -5775,7 +5775,7 @@ sit_for (Lisp_Object timeout, bool reading, int display_option)
5775 } 5775 }
5776 else if (BIGNUMP (timeout)) 5776 else if (BIGNUMP (timeout))
5777 { 5777 {
5778 if (!Fnatnump (timeout)) 5778 if (NILP (Fnatnump (timeout)))
5779 return Qt; 5779 return Qt;
5780 sec = bignum_to_intmax (timeout); 5780 sec = bignum_to_intmax (timeout);
5781 if (sec == 0) 5781 if (sec == 0)