[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/src/xterm.c
From: |
Stefan Monnier |
Subject: |
[Emacs-diffs] Changes to emacs/src/xterm.c |
Date: |
Sun, 15 Jun 2003 17:20:55 -0400 |
Index: emacs/src/xterm.c
diff -c emacs/src/xterm.c:1.795 emacs/src/xterm.c:1.796
*** emacs/src/xterm.c:1.795 Mon Jun 2 14:48:55 2003
--- emacs/src/xterm.c Sun Jun 15 17:20:55 2003
***************
*** 6989,6997 ****
{
struct x_display_info *dpyinfo;
struct input_event bufp[10];
! struct input_event *bufpp = bufp;
int numchars = 10;
int finish = X_EVENT_NORMAL;
for (dpyinfo = x_display_list; dpyinfo; dpyinfo = dpyinfo->next)
if (dpyinfo->display == display)
--- 6989,7001 ----
{
struct x_display_info *dpyinfo;
struct input_event bufp[10];
! 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)