changeset 26686:45fc8351ca9b

usec_sleep(0) is not the same as not sleeping at all. Fixes massive slowdown on Windows.
author reimar
date Sat, 10 May 2008 14:03:42 +0000
parents 5b9a13fb7357
children 04a4bd6d7a5f
files input/input.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/input/input.c	Sat May 10 13:41:10 2008 +0000
+++ b/input/input.c	Sat May 10 14:03:42 2008 +0000
@@ -1215,7 +1215,7 @@
 	}
     }
 #else
-    if (!got_cmd)
+    if (!got_cmd && time)
 	usec_sleep(time * 1000);
 #endif