changeset 71573:469b92d9146e

(sit_for): Fix preempt condition.
author Kim F. Storm <storm@cua.dk>
date Mon, 03 Jul 2006 15:00:28 +0000
parents 058824421a84
children a93787ef56ad
files src/dispnew.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/dispnew.c	Mon Jul 03 15:00:11 2006 +0000
+++ b/src/dispnew.c	Mon Jul 03 15:00:28 2006 +0000
@@ -6504,7 +6504,7 @@
 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);