diff options
author | Kenichi Handa <handa@m17n.org> | 2000-02-26 02:55:10 +0000 |
---|---|---|
committer | Kenichi Handa <handa@m17n.org> | 2000-02-26 02:55:10 +0000 |
commit | 20833ab8760c5916aaa43e254b8d853bd2f69906 (patch) | |
tree | 1cf587b4700b044517777915a19e9d9a7072a954 /src/keyboard.c | |
parent | cd5b60f71241451ea8899b4105336d73421fc7fd (diff) | |
download | emacs-20833ab8760c5916aaa43e254b8d853bd2f69906.tar.gz |
(read_char): Set `usec' correctly.
Diffstat (limited to 'src/keyboard.c')
-rw-r--r-- | src/keyboard.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |