blob: 8aa9cc9e567f596b1aebb0d4d0d8ba2b268c26e3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
$NetBSD: patch-aa,v 1.8 2004/07/07 11:43:58 martti Exp $
--- src/mon-text.c.orig 2004-07-06 12:39:38.000000000 +0000
+++ src/mon-text.c 2004-07-07 14:35:58.000000000 +0000
@@ -108,4 +108,4 @@
- /* XXX: usleep() is probably not very portable */
- usleep(delay * 1000000);
+ sleep(delay);
+ usleep((delay - (int)delay) * 1000000);
} while (delay);
|