Mercurial > emacs
diff src/sysdep.c @ 45804:863817d7e734
*** empty log message ***
| author | Pavel Jan?k <Pavel@Janik.cz> |
|---|---|
| date | Thu, 13 Jun 2002 15:00:02 +0000 |
| parents | 01b93e5e53a7 |
| children | c6d9317e4393 |
line wrap: on
line diff
--- a/src/sysdep.c Thu Jun 13 14:59:38 2002 +0000 +++ b/src/sysdep.c Thu Jun 13 15:00:02 2002 +0000 @@ -2011,7 +2011,7 @@ if (c >= 0) { struct input_event e; - e.kind = ascii_keystroke; + e.kind = ASCII_KEYSTROKE_EVENT; XSETINT (e.code, c); e.frame_or_window = selected_frame; kbd_buffer_store_event (&e); @@ -2680,7 +2680,7 @@ kbd_buffer_store_event (&buf[i]); /* Don't look at input that follows a C-g too closely. This reduces lossage due to autorepeat on C-g. */ - if (buf[i].kind == ascii_keystroke + if (buf[i].kind == ASCII_KEYSTROKE_EVENT && buf[i].code == quit_char) break; } @@ -2691,7 +2691,7 @@ nread = read (fileno (stdin), buf, 1); /* Scan the chars for C-g and store them in kbd_buffer. */ - e.kind = ascii_keystroke; + e.kind = ASCII_KEYSTROKE_EVENT; e.frame_or_window = selected_frame; e.modifiers = 0; for (i = 0; i < nread; i++)
