diff input/input.c @ 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 606fe14e4e6c
children c13288eeb9f6
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