summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKim F. Storm <storm@cua.dk>2006-07-03 15:00:28 +0000
committerKim F. Storm <storm@cua.dk>2006-07-03 15:00:28 +0000
commitda7a71c1774c986b8121aaee5bfb5a46433fc943 (patch)
tree096d1cfe6927050f170954f69526192083bbdba0
parentd8ab3c6de410126b3a25d8126daaf8bcb009edce (diff)
downloademacs-da7a71c1774c986b8121aaee5bfb5a46433fc943.tar.gz
(sit_for): Fix preempt condition.
-rw-r--r--src/dispnew.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dispnew.c b/src/dispnew.c
index df92fc395d2..e331d8628f2 100644
--- a/src/dispnew.c
+++ b/src/dispnew.c
@@ -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);