HCoop
/
bpt
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
38f7dce
)
(x_dispatch_event): Don't pass uninitialized
author
Stefan Monnier
<monnier@iro.umontreal.ca>
Sun, 15 Jun 2003 21:20:55 +0000
(21:20 +0000)
committer
Stefan Monnier
<monnier@iro.umontreal.ca>
Sun, 15 Jun 2003 21:20:55 +0000
(21:20 +0000)
data to kbd_buffer_store_event.
src/xterm.c
patch
|
blob
|
blame
|
history
diff --git
a/src/xterm.c
b/src/xterm.c
index
590ce4f
..
f4f411a
100644
(file)
--- a/
src/xterm.c
+++ b/
src/xterm.c
@@
-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;