changeset 14646:68fe10d1abd0

(Fsleep_for): Accept sub-second intervals.
author Erik Naggum <erik@naggum.no>
date Thu, 22 Feb 1996 05:50:00 +0000
parents 875c14f0d0db
children b1a88c3a6912
files src/dispnew.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/dispnew.c	Thu Feb 22 02:57:50 1996 +0000
+++ b/src/dispnew.c	Thu Feb 22 05:50:00 1996 +0000
@@ -2308,7 +2308,7 @@
   else
     sec += usec / 1000000, usec %= 1000000;
 
-  if (sec <= 0)
+  if (sec < 0 || (sec == 0 && usec == 0))
     return Qnil;
 
   {