Mercurial > emacs
comparison src/keyboard.c @ 27880:27d91702f2e8
(read_char): Set `usec' correctly.
author | Kenichi Handa <handa@m17n.org> |
---|---|
date | Sat, 26 Feb 2000 02:55:10 +0000 |
parents | aa784365f0a0 |
children | 0eacc2b5db8a |
comparison
equal
deleted
inserted
replaced
27879:5ce35e54eb68 | 27880:27d91702f2e8 |
---|---|
2181 else | 2181 else |
2182 { | 2182 { |
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); |
2190 restore_getcjmp (save_jump); | 2190 restore_getcjmp (save_jump); |
2191 if (EQ (tem0, Qt) | 2191 if (EQ (tem0, Qt) |