changeset 27880:27d91702f2e8

(read_char): Set `usec' correctly.
author Kenichi Handa <handa@m17n.org>
date Sat, 26 Feb 2000 02:55:10 +0000
parents 5ce35e54eb68
children f54471f7b913
files src/keyboard.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/keyboard.c	Sat Feb 26 02:53:47 2000 +0000
+++ b/src/keyboard.c	Sat Feb 26 02:55:10 2000 +0000
@@ -2183,7 +2183,7 @@
 	  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);