Commit 15fa88ab authored by Kenichi Handa's avatar Kenichi Handa
Browse files

(read_char): Set `usec' correctly.

parent 171ca836
......@@ -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);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment