aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorStefan Monnier2003-06-15 21:00:45 +0000
committerStefan Monnier2003-06-15 21:00:45 +0000
commitc658018ff8e3a85e5dbfd0d5eff5b7f1a207ff69 (patch)
tree42566f84e900b73ba2e087705757fca8dccfe1c0 /src
parentc61ab2a0061a08b5f4aa38afedfdb771a174a98b (diff)
downloademacs-c658018ff8e3a85e5dbfd0d5eff5b7f1a207ff69.tar.gz
emacs-c658018ff8e3a85e5dbfd0d5eff5b7f1a207ff69.zip
(dos_rawgetc): Don't pass uninitialized data to kbd_buffer_store_event.
Diffstat (limited to 'src')
-rw-r--r--src/msdos.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/msdos.c b/src/msdos.c
index c558515ddfa..5f2f488b20f 100644
--- a/src/msdos.c
+++ b/src/msdos.c
@@ -1,5 +1,5 @@
1/* MS-DOS specific C utilities. -*- coding: raw-text -*- 1/* MS-DOS specific C utilities. -*- coding: raw-text -*-
2 Copyright (C) 1993, 94, 95, 96, 97, 1999, 2000, 2001 2 Copyright (C) 1993, 94, 95, 96, 97, 1999, 2000, 01, 2003
3 Free Software Foundation, Inc. 3 Free Software Foundation, Inc.
4 4
5This file is part of GNU Emacs. 5This file is part of GNU Emacs.
@@ -3130,7 +3130,8 @@ dos_rawgetc ()
3130 struct input_event event; 3130 struct input_event event;
3131 union REGS regs; 3131 union REGS regs;
3132 struct display_info *dpyinfo = FRAME_X_DISPLAY_INFO (SELECTED_FRAME()); 3132 struct display_info *dpyinfo = FRAME_X_DISPLAY_INFO (SELECTED_FRAME());
3133 3133 EVENT_INIT (event);
3134
3134#ifndef HAVE_X_WINDOWS 3135#ifndef HAVE_X_WINDOWS
3135 /* Maybe put the cursor where it should be. */ 3136 /* Maybe put the cursor where it should be. */
3136 IT_cmgoto (SELECTED_FRAME()); 3137 IT_cmgoto (SELECTED_FRAME());