Fix delay_s for Windows.

This commit is contained in:
Daniel Beer 2012-05-10 11:41:00 +12:00
parent f44d9d5281
commit 31e8dabd09
1 changed files with 1 additions and 1 deletions

View File

@ -75,7 +75,7 @@ char *expand_tilde(const char *path);
#ifdef __Windows__ #ifdef __Windows__
static inline void delay_s(unsigned int s) static inline void delay_s(unsigned int s)
{ {
Sleep(s); Sleep(s * 1000);
} }
#else #else
static inline void delay_s(unsigned int s) static inline void delay_s(unsigned int s)