mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-07 12:20:39 -08:00
(x_dispatch_event): Don't pass uninitialized
data to kbd_buffer_store_event.
This commit is contained in:
parent
38f7dce375
commit
2cd679c3c8
1 changed files with 5 additions and 1 deletions
|
|
@ -6989,10 +6989,14 @@ x_dispatch_event (event, display)
|
|||
{
|
||||
struct x_display_info *dpyinfo;
|
||||
struct input_event bufp[10];
|
||||
struct input_event *bufpp = bufp;
|
||||
struct input_event *bufpp;
|
||||
int numchars = 10;
|
||||
int finish = X_EVENT_NORMAL;
|
||||
|
||||
for (bufpp = bufp; bufpp != bufp + 10; bufpp++)
|
||||
EVENT_INIT (*bufpp);
|
||||
bufpp = bufp;
|
||||
|
||||
for (dpyinfo = x_display_list; dpyinfo; dpyinfo = dpyinfo->next)
|
||||
if (dpyinfo->display == display)
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue