From: Kenichi Handa Date: Sat, 26 Feb 2000 02:55:10 +0000 (+0000) Subject: (read_char): Set `usec' correctly. X-Git-Tag: emacs-pretest-21.0.90~4871 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=15fa88ab764092d939aa02bae3a97c553fb0e163;p=emacs.git (read_char): Set `usec' correctly. --- diff --git a/src/keyboard.c b/src/keyboard.c index 75bafc28b83..5a3511743de 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);