]> git.eshelyaron.com Git - emacs.git/commitdiff
(sit_for): Fix preempt condition.
authorKim F. Storm <storm@cua.dk>
Mon, 3 Jul 2006 15:00:28 +0000 (15:00 +0000)
committerKim F. Storm <storm@cua.dk>
Mon, 3 Jul 2006 15:00:28 +0000 (15:00 +0000)
src/dispnew.c

index df92fc395d2ed402d7b8969d1394f600844904f9..e331d8628f2d86dffeb14642ed41d77830067202 100644 (file)
@@ -6504,7 +6504,7 @@ Lisp_Object
 sit_for (sec, usec, reading, display, initial_display)
      int sec, usec, reading, display, initial_display;
 {
-  int preempt = (sec >= 0) || (sec == 0 && usec >= 0);
+  int preempt = (sec > 0) || (sec == 0 && usec >= 0);
 
   swallow_events (display);