aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman1993-05-28 01:53:31 +0000
committerRichard M. Stallman1993-05-28 01:53:31 +0000
commit92723877c7b4cf2d8e503afa01a5ba92800fc4a7 (patch)
tree3f2c5defeb3a89823834f69530a9e5faf2d0dfce
parent8bb272853d4aa811d3ea8725dbc10aa6f74e5b05 (diff)
downloademacs-92723877c7b4cf2d8e503afa01a5ba92800fc4a7.tar.gz
emacs-92723877c7b4cf2d8e503afa01a5ba92800fc4a7.zip
(Fsleep_for): Don't return without waiting when SEC is 0.
-rw-r--r--src/dispnew.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dispnew.c b/src/dispnew.c
index 1766561515c..4dde895240b 100644
--- a/src/dispnew.c
+++ b/src/dispnew.c
@@ -1852,7 +1852,7 @@ Emacs was built without floating point support.\n\
1852 else 1852 else
1853 sec += usec / 1000000, usec %= 1000000; 1853 sec += usec / 1000000, usec %= 1000000;
1854 1854
1855 if (sec <= 0) 1855 if (sec < 0)
1856 return Qnil; 1856 return Qnil;
1857 1857
1858 { 1858 {