From 15fa88ab764092d939aa02bae3a97c553fb0e163 Mon Sep 17 00:00:00 2001 From: Kenichi Handa Date: Sat, 26 Feb 2000 02:55:10 +0000 Subject: (read_char): Set `usec' correctly. --- src/keyboard.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/keyboard.c b/src/keyboard.c index 75bafc28b8..5a3511743d 100644 --- a/src/keyboard.c +++ b/src/keyboard.c @@ -2183,7 +2183,7 @@ read_char (commandflag, nmaps, maps, prev_event, used_mouse_menu) int sec, usec; double duration = extract_float (Vecho_keystrokes); sec = (int) duration; - usec += (duration - sec) * 1000000; + usec = (duration - sec) * 1000000; save_getcjmp (save_jump); restore_getcjmp (local_getcjmp); tem0 = sit_for (sec, usec, 1, 1, 0); -- cgit v1.2.3