mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-03-06 05:52:32 -08:00
(dos_rawgetc): Don't pass uninitialized data to kbd_buffer_store_event.
This commit is contained in:
parent
c61ab2a006
commit
c658018ff8
1 changed files with 3 additions and 2 deletions
|
|
@ -1,5 +1,5 @@
|
|||
/* MS-DOS specific C utilities. -*- coding: raw-text -*-
|
||||
Copyright (C) 1993, 94, 95, 96, 97, 1999, 2000, 2001
|
||||
Copyright (C) 1993, 94, 95, 96, 97, 1999, 2000, 01, 2003
|
||||
Free Software Foundation, Inc.
|
||||
|
||||
This file is part of GNU Emacs.
|
||||
|
|
@ -3130,7 +3130,8 @@ dos_rawgetc ()
|
|||
struct input_event event;
|
||||
union REGS regs;
|
||||
struct display_info *dpyinfo = FRAME_X_DISPLAY_INFO (SELECTED_FRAME());
|
||||
|
||||
EVENT_INIT (event);
|
||||
|
||||
#ifndef HAVE_X_WINDOWS
|
||||
/* Maybe put the cursor where it should be. */
|
||||
IT_cmgoto (SELECTED_FRAME());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue