diff options
| author | Kenichi Handa | 2000-02-26 02:55:10 +0000 |
|---|---|---|
| committer | Kenichi Handa | 2000-02-26 02:55:10 +0000 |
| commit | 15fa88ab764092d939aa02bae3a97c553fb0e163 (patch) | |
| tree | bfbe5e4434bc13fc4142e51ed8baed59fa939d04 /src | |
| parent | 171ca8368ccba1da0cabaebcb04c541775cfcb50 (diff) | |
| download | emacs-15fa88ab764092d939aa02bae3a97c553fb0e163.tar.gz emacs-15fa88ab764092d939aa02bae3a97c553fb0e163.zip | |
(read_char): Set `usec' correctly.
Diffstat (limited to 'src')
| -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) | |||
| 2183 | int sec, usec; | 2183 | int sec, usec; |
| 2184 | double duration = extract_float (Vecho_keystrokes); | 2184 | double duration = extract_float (Vecho_keystrokes); |
| 2185 | sec = (int) duration; | 2185 | sec = (int) duration; |
| 2186 | usec += (duration - sec) * 1000000; | 2186 | usec = (duration - sec) * 1000000; |
| 2187 | save_getcjmp (save_jump); | 2187 | save_getcjmp (save_jump); |
| 2188 | restore_getcjmp (local_getcjmp); | 2188 | restore_getcjmp (local_getcjmp); |
| 2189 | tem0 = sit_for (sec, usec, 1, 1, 0); | 2189 | tem0 = sit_for (sec, usec, 1, 1, 0); |