Fix xsleep() for Windows (trivial change)

* src/mswindows.c (xsleep): Fix check for number of seconds
This commit is contained in:
Jernej Simončič 2016-04-25 15:50:23 +02:00 committed by Tim Rühsen
parent 96ab9cad88
commit 42cc84b6b6

View File

@ -62,7 +62,7 @@ void
xsleep (double seconds) xsleep (double seconds)
{ {
#if defined(HAVE_USLEEP) && defined(HAVE_SLEEP) #if defined(HAVE_USLEEP) && defined(HAVE_SLEEP)
if (seconds > 1000) if (seconds >= 1)
{ {
/* Explained in utils.c. */ /* Explained in utils.c. */
sleep (seconds); sleep (seconds);