From: Kim F. Storm Date: Mon, 3 Jul 2006 15:00:28 +0000 (+0000) Subject: (sit_for): Fix preempt condition. X-Git-Tag: emacs-pretest-22.0.90~1750 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=da7a71c1774c986b8121aaee5bfb5a46433fc943;p=emacs.git (sit_for): Fix preempt condition. --- 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);