diff options
| author | Stefan Monnier | 2003-06-15 20:59:24 +0000 |
|---|---|---|
| committer | Stefan Monnier | 2003-06-15 20:59:24 +0000 |
| commit | c61ab2a0061a08b5f4aa38afedfdb771a174a98b (patch) | |
| tree | da4d8a51094731b1e0ed56c6d1a27b8c9fa6271b /src | |
| parent | aa4ac49462e4187df9324464ff4d7c48ba1ccb3c (diff) | |
| download | emacs-c61ab2a0061a08b5f4aa38afedfdb771a174a98b.tar.gz emacs-c61ab2a0061a08b5f4aa38afedfdb771a174a98b.zip | |
(mac_check_for_quit_char): Don't pass uninitialized
data to kbd_buffer_store_event.
Diffstat (limited to 'src')
| -rw-r--r-- | src/macterm.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/macterm.c b/src/macterm.c index f087c78870e..d00c1d690ac 100644 --- a/src/macterm.c +++ b/src/macterm.c | |||
| @@ -8594,6 +8594,7 @@ mac_check_for_quit_char () | |||
| 8594 | struct mac_output *mwp = | 8594 | struct mac_output *mwp = |
| 8595 | (mac_output *) GetWRefCon (FrontNonFloatingWindow ()); | 8595 | (mac_output *) GetWRefCon (FrontNonFloatingWindow ()); |
| 8596 | /* Use an input_event to emulate what the interrupt handler does. */ | 8596 | /* Use an input_event to emulate what the interrupt handler does. */ |
| 8597 | EVENT_INIT (e); | ||
| 8597 | e.kind = ASCII_KEYSTROKE_EVENT; | 8598 | e.kind = ASCII_KEYSTROKE_EVENT; |
| 8598 | e.code = quit_char; | 8599 | e.code = quit_char; |
| 8599 | e.arg = NULL; | 8600 | e.arg = NULL; |