From da7a71c1774c986b8121aaee5bfb5a46433fc943 Mon Sep 17 00:00:00 2001 From: "Kim F. Storm" Date: Mon, 3 Jul 2006 15:00:28 +0000 Subject: [PATCH] (sit_for): Fix preempt condition. --- src/dispnew.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.39.2